This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:3-alpine
|
||||
ADD requirements.txt /
|
||||
RUN pip install -r requirements.txt
|
||||
ADD app.py /
|
||||
RUN mkdir /db
|
||||
VOLUME /db
|
||||
EXPOSE 5000
|
||||
CMD [ "python", "./app.py" ]
|
||||
|
||||
Reference in New Issue
Block a user