Skip to content

Commit

Permalink
fix: constrain setup tools version to fix broken build (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-chaturvedi authored Jul 29, 2024
1 parent 5804f70 commit 616bbf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM python:3.12.1-alpine3.19@sha256:28230397c48cf4e2619822beb834ae7e46ebcd255b8f7cef58eff932fd75d2ce

ADD requirements.txt /app/requirements.txt
ADD constraints.txt /app/constraints.txt

ENV PIP_CONSTRAINT=/app/constraints.txt

RUN set -ex \
&& apk add --no-cache --virtual .build-deps postgresql-dev build-base gcc musl-dev jpeg-dev zlib-dev libffi-dev cairo-dev pango-dev gdk-pixbuf-dev mariadb-dev python3-dev \
Expand Down
1 change: 1 addition & 0 deletions backend/constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
setuptools<72

0 comments on commit 616bbf3

Please sign in to comment.