forked from AFPy/PonyConf
Add Dockerfile
This commit is contained in:
parent
035a1a16c3
commit
3adc923e40
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
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"]
|
Loading…
Reference in New Issue
Block a user