Skip to content
Snippets Groups Projects
Commit bfdc8e6f authored by Thomas  MENARD's avatar Thomas MENARD
Browse files

Update Dockerfile

parent 91b89ace
Branches
No related tags found
No related merge requests found
...@@ -16,8 +16,9 @@ RUN pip install --default-timeout=100 --upgrade pip && pip install -r /app/requi ...@@ -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 # We add the current content of the git repo in the /app directory
ADD . /app ADD . /app
WORKDIR /app
RUN rm -rf .gitlab-ci.yml Dockerfile README.md img RUN rm -rf .gitlab-ci.yml Dockerfile README.md img
# We use the CMD command to start the gunicorn daemon # We use the CMD command to start the gunicorn daemon
# when we start the container. # when we start the container.
# Note the $PORT variable, we will need to define it 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment