-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0eced9
commit 2413eac
Showing
2 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |