Skip to content

Commit

Permalink
Update Dockerfile to install required build tools
Browse files Browse the repository at this point in the history
For some reason uwsgi doens't ship with wheels
  • Loading branch information
Viicos committed Jan 18, 2024
1 parent ca897e4 commit 21a984b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
FROM python:3.10-slim-bullseye AS backend-build

RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
build-essential \
git \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*


WORKDIR /app

COPY ./requirements /app/requirements
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ certifi==2020.12.5
# elastic-apm
# requests
# sentry-sdk
cffi==1.14.6
cffi==1.16.0
# via cryptography
chardet==4.0.0
# via requests
Expand Down
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ certifi==2020.12.5
# elastic-apm
# requests
# sentry-sdk
cffi==1.14.6
cffi==1.16.0
# via
# -r requirements/base.txt
# cryptography
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ certifi==2020.12.5
# elastic-apm
# requests
# sentry-sdk
cffi==1.14.6
cffi==1.16.0
# via
# -r requirements/ci.txt
# cryptography
Expand Down

0 comments on commit 21a984b

Please sign in to comment.