docker support, issue #48
This commit is contained in:
parent
9dc5e3eda9
commit
38009861be
1 changed files with 16 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal 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" ]
|
Loading…
Reference in a new issue