diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-04 17:04:11 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-04 17:04:11 +0100 |
commit | 17df410300d14397b963a184ab3fdf854ea10ff3 (patch) | |
tree | cb9f9c4f239d94f7ceb2cb633ac25fdab2553767 /docker/Dockerfile | |
parent | t/i/docker: test the frontend also (diff) | |
download | cgitize-17df410300d14397b963a184ab3fdf854ea10ff3.tar.gz cgitize-17df410300d14397b963a184ab3fdf854ea10ff3.zip |
docker: make schedule.sh more reusable
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"] |