From e629e94f68386fb6fbb659d06247f37249977418 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 23 Jan 2023 11:41:25 +0100 Subject: [PATCH] Drop unused psycopg2 build deps --- Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 247f315..0e70c4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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