Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Jan 23, 2023
1 parent b0eced9 commit 2413eac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# WSGI service environment

FROM sourcepole/qwc-uwsgi-base:alpine-v2021.12.16

# Required for psychopg, --> https://github.com/psycopg/psycopg2/issues/684
RUN apk add --no-cache --update postgresql-dev gcc python3-dev musl-dev
FROM sourcepole/qwc-uwsgi-base:alpine-v2022.01.26

ADD . /srv/qwc_service
RUN pip3 install --no-cache-dir -r /srv/qwc_service/requirements.txt

# postgresql-dev g++ python3-dev: Required for psycopg2-binary
RUN \
apk add --no-cache --update --virtual runtime-deps postgresql-libs && \
apk add --no-cache --update --virtual build-deps postgresql-dev g++ python3-dev && \
pip3 install --no-cache-dir -r /srv/qwc_service/requirements.txt && \
apk del build-deps
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==1.0.2
werkzeug==0.16.1
python-dotenv==0.13.0
Flask-JWT-Extended==3.5.1
flask-restx==0.2.0
qwc-services-core==1.2.7
Flask==2.0.2
werkzeug==2.0.2
python-dotenv==0.19.2
Flask-JWT-Extended==4.3.1
flask-restx==0.5.1
qwc-services-core==1.3.14

0 comments on commit 2413eac

Please sign in to comment.