Skip to content

Commit

Permalink
Fix issue with warkzeug library
Browse files Browse the repository at this point in the history
  • Loading branch information
bkbilly committed Oct 14, 2023
1 parent 351a058 commit 5f7beed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM alpine:3.18.4 as build
WORKDIR /opt/AlarmPI

RUN apk update && apk add jq python3 py3-pip gcc libc-dev python3-dev

COPY . /opt/AlarmPI
WORKDIR /opt/AlarmPI
RUN pip3 install -r requirements.txt
RUN cp config/settings_template.json config/settings.json
RUN cp config/server_template.json config/server.json
RUN touch alert.log

ENTRYPOINT ["/usr/bin/python3", "/opt/AlarmPI/run.py"]
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ requests>=2.22.0
pytz>=2019.2
paho-mqtt>=1.4.0
RPi.GPIO>=0.7.0
Werkzeug==2.2.2

0 comments on commit 5f7beed

Please # to comment.