created script and dockerfile

This commit is contained in:
2019-10-20 15:53:37 +02:00
commit 26dc3ebf6c
2 changed files with 87 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.7
VOLUME ["/in", "/out"]
RUN python -m pip install inotify
COPY script.py /
CMD ["python", "-u", "/script.py"]