can parse api key

This commit is contained in:
bj
2021-01-28 12:56:11 +02:00
parent 32799b65d5
commit 3c0eece311
15 changed files with 261 additions and 52 deletions
+3 -5
View File
@@ -1,12 +1,10 @@
FROM python:2.7
FROM python:3.9
WORKDIR /app
ADD requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt
ADD app.py /app/app.py
ADD syncthing_monitor /app/syncthing_monitor
EXPOSE 80
CMD ["python", "app.py"]
CMD ["python", "-m", "syncthing_monitor"]