Skip to content

Commit

Permalink
Drop unused psycopg2 build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Jan 23, 2023
1 parent 2413eac commit e629e94
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,4 @@
FROM sourcepole/qwc-uwsgi-base:alpine-v2022.01.26

ADD . /srv/qwc_service

# 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
RUN pip3 install --no-cache-dir -r /srv/qwc_service/requirements.txt

0 comments on commit e629e94

Please sign in to comment.