Skip to content

Commit 6c61a3e

Browse files
Copilotpamelafox
andcommitted
Remove unnecessary postgresql-client and xdg-utils packages from backend Dockerfile
Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com>
1 parent fa24eee commit 6c61a3e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/backend/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
FROM python:3.12-bullseye
22

3-
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
4-
&& apt-get -y install --no-install-recommends postgresql-client \
5-
&& apt-get update && apt-get install -y xdg-utils \
6-
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
3+
# Removed postgresql-client and xdg-utils packages as they are not used by the backend
4+
# The backend uses SQLAlchemy/asyncpg for PostgreSQL connections, not CLI tools
75

86
RUN python -m pip install --upgrade pip
97

0 commit comments

Comments
 (0)