Add docker support

- Allow setup script to get credentials from flags
- Add Dockerfile and docker_entrypoint
- Edit README for forked version
This commit is contained in:
MassiveBox 2022-10-23 22:09:20 +02:00
parent 9ae33644e5
commit 9782f0321f
5 changed files with 78 additions and 58 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM python:3.7-bullseye
ADD . /app
WORKDIR /app
RUN python3 setup.py install; \
chmod +x docker_entrypoint.sh; \
mkdir -p /data /root/.config; \
rm -rf docke.yml
WORKDIR /data
CMD ["/app/docker_entrypoint.sh"]