docker support, issue #48

This commit is contained in:
Morgan McMillian 2020-03-25 22:10:42 -07:00
parent 9dc5e3eda9
commit 38009861be

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM python:3
VOLUME /data
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
WORKDIR /data
EXPOSE 5000/tcp
CMD [ "python", "/usr/src/app/pnut-matrix.py", "-d" ]