diff options
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index b9f67db..0f2afdb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -24,7 +24,9 @@ COPY ["docker/entrypoint.sh", "/"] COPY ["docker/get_output_dir.py", "/"] COPY ["docker/schedule.sh", "/"] COPY ["cgitize/", "/usr/src/cgitize/"] -WORKDIR /usr/src +ENV SCHEDULE_ON_START=1 ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"] + +WORKDIR /usr/src CMD ["python3", "-m", "cgitize.main"] |