diff options
-rw-r--r-- | Dockerfile | 2 | ||||
-rwxr-xr-x | docker/entrypoint.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -19,4 +19,4 @@ COPY ["cgitize/", "/usr/src/cgitize/"] WORKDIR /usr/src ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"] -CMD python3 -m cgitize.main +CMD ["python3", "-m", "cgitize.main"] diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 5a07263..0bd3944 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -33,4 +33,4 @@ crontab="$schedule /task.sh echo "$crontab" | crontab - -crond -f +exec crond -f |