From bfdc8e6f8e7c941eb4982dd437ed314bfc96cba7 Mon Sep 17 00:00:00 2001 From: Thomas MENARD <thomas.menard@pasteur.fr> Date: Tue, 4 Jun 2019 20:00:16 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 129d7d6..3eccf45 100755 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,9 @@ RUN pip install --default-timeout=100 --upgrade pip && pip install -r /app/requi # We add the current content of the git repo in the /app directory ADD . /app +WORKDIR /app RUN rm -rf .gitlab-ci.yml Dockerfile README.md img # We use the CMD command to start the gunicorn daemon # when we start the container. # Note the $PORT variable, we will need to define it when we start the container -CMD python /app/manage.py runserver 0.0.0.0:$PORT +CMD python manage.py runserver 0.0.0.0:$PORT -- GitLab