aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-02 17:20:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-02 17:20:27 +0300
commitff1c099de24237e58ed7931acf3e2f3f40b7adcc (patch)
tree6d6cc585188e331ca7f2997999f6fa198cc9ef5c /Dockerfile
parenttest/integration/docker: remove output directory (diff)
downloadcgitize-ff1c099de24237e58ed7931acf3e2f3f40b7adcc.tar.gz
cgitize-ff1c099de24237e58ed7931acf3e2f3f40b7adcc.zip
docker: fix CMD handling
It was difficult to override CMD (due to the requirement to `activate` the venv), move the `activate` call to entrypoint.sh.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b722ec7..55e24ca 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,4 +19,4 @@ COPY ["cgitize/", "/usr/src/cgitize/"]
WORKDIR /usr/src
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
-CMD . /tmp/venv/bin/activate && python3 -m cgitize.main
+CMD python3 -m cgitize.main