We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48fc266 commit d6a1cf6Copy full SHA for d6a1cf6
1 file changed
Dockerfile
@@ -4,13 +4,13 @@ FROM alpine:latest as dist
4
RUN apk add --no-cache --virtual build-deps gcc python3-dev musl-dev py3-pip py3-wheel postgresql-dev
5
RUN mkdir -p /build/dist
6
WORKDIR /build
7
-RUN pip wheel --wheel-dir=dist psycopg2
+RUN pip wheel --wheel-dir=dist psycopg[c]
8
ADD . /build
9
RUN python3 setup.py bdist_wheel
10
11
FROM alpine:latest
12
RUN apk add --no-cache py3-pip libpq
13
RUN --mount=type=bind,from=dist,src=/build/dist,target=/dist \
14
- pip install /dist/*
+ pip install --break-system-packages /dist/*
15
16
ENTRYPOINT ["holdup"]
0 commit comments