8 lines
239 B
Docker
8 lines
239 B
Docker
![]() |
FROM python:3
|
||
|
ENV PYTHONUNBUFFERED 1
|
||
|
RUN mkdir /django
|
||
|
ADD . /django/
|
||
|
WORKDIR /django
|
||
|
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
|