aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rwxr-xr-xdocker/entrypoint.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index cfdda46..7ba79f8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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