Fix Dockerfile
This commit is contained in:
parent
dc7c0c4463
commit
7d29c04f08
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ FROM python:3
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
RUN mkdir /django
|
RUN mkdir /django
|
||||||
ADD ./comet /django/
|
ADD ./comet /django/
|
||||||
|
ADD ./requirements.txt /django/requirements.txt
|
||||||
WORKDIR /django
|
WORKDIR /django
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
CMD sleep 5; python manage.py migrate; python manage.py collectstatic --noinput; gunicorn comet.wsgi -b 0.0.0.0:8000
|
CMD sleep 5; python manage.py migrate; python manage.py collectstatic --noinput; gunicorn comet.wsgi -b 0.0.0.0:8000
|
||||||
|
|
Loading…
Reference in a new issue