From ed94d72adb79761fd94d3f7a6ade65be00354d1e Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Tue, 27 Oct 2020 22:50:48 +0800 Subject: [PATCH] Launch python from shell --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 365bfd9..333db2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,4 @@ RUN pip3 install -r /data/requirements.txt && \ EXPOSE 1025 -CMD [ "/bin/sh", "-c", "/usr/bin/python3", "/data/smtp2slack4qnap.py" ] +CMD [ "/bin/sh", "-c", "/usr/bin/python3 /data/smtp2slack4qnap.py" ]