diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5acd64f --- /dev/null +++ b/Dockerfile @@ -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" ]