Skip to content

Commit

Permalink
add missing runtime deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Aug 14, 2024
1 parent 0f66c8f commit 03ed982
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ RUN \
# create venv for plone
uv venv /venv &&\
# install psycopg2, needs buildessential libpq-dev
psycopg2Deps="build-essential libpq-dev" &&\
apt-get install -y --no-install-recommends $psycopg2Deps &&\
psycopg2RuntimeDeps="libpq" &&\
psycopg2BuildDeps="build-essential libpq-dev" &&\
apt-get install -y --no-install-recommends psycopg2RuntimeDeps $psycopg2BuildDeps &&\
uv pip install -p /venv/bin/python psycopg2 &&\
apt-get remove -y $psycopg2Deps &&\
apt-get remove -y $psycopg2BuildDeps &&\
apt-get autoremove -y &&\
# create a data folder
mkdir /instance &&\
Expand Down

0 comments on commit 03ed982

Please sign in to comment.