Skip to content

Commit c49cca2

Browse files
authored
Update debian version and remove packages (#3502)
1 parent eb7355c commit c49cca2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG CONTEXT=prod
22

3-
FROM python:3.12.9-slim-bookworm AS base
3+
FROM python:3.12.13-slim-trixie AS base
44

55
## Setup
66
ARG CONTEXT
@@ -16,11 +16,9 @@ RUN CONTEXT_INSTALLS=$(case "$APP_CONTEXT" in \
1616
IGNORE_INSTALL_RECOMMENDS=${prod:+"--no-install-recommends"} && \
1717
apt-get -y update && apt-get -y upgrade && apt-get install ${IGNORE_INSTALL_RECOMMENDS} -y \
1818
curl \
19-
git \
20-
gcc \
21-
libpq-dev \
19+
git \
2220
libmagic1 \
23-
mime-support \
21+
media-types \
2422
ncat \
2523
postgresql-client \
2624
${CONTEXT_INSTALLS} && \

requirements/partial/requirements_production.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Flask==3.1.3
77
gunicorn==25.1.0
88
pypdf[crypto]==6.9.2
99
lxml==6.0.2
10-
psycopg[c]==3.3.3
10+
psycopg[binary]==3.3.3
1111
psycopg-pool==3.3.0
1212
requests==2.33.1
1313
roman==5.2

0 commit comments

Comments
 (0)