forked from AFPy/PonyConf
15 lines
230 B
Docker
15 lines
230 B
Docker
FROM python:3
|
|
|
|
VOLUME /tmp/app
|
|
WORKDIR /tmp/app
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
RUN ./manage.py migrate
|
|
|
|
EXPOSE 8000
|
|
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|