Docker files for ease of development on PCs/macs

This commit is contained in:
Chris Speck
2018-08-13 23:13:13 +10:00
parent 1414b1ed3b
commit a22dcba77c
3 changed files with 38 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Dockerfile for development on a pc/mac
FROM python:2
EXPOSE 5000
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "run.py"]