feat: update Dockerfile and docker-compose for improved build process

This commit is contained in:
2025-05-01 11:24:27 +01:00
parent 9f4743eaea
commit 259ce3cf69
2 changed files with 4 additions and 15 deletions

View File

@@ -6,8 +6,9 @@ WORKDIR /app
# Systemabhängigkeiten (falls erforderlich)
RUN apt-get update && \
apt-get install -y --no-install-recommends gcc libpq-dev && \
rm -rf /var/lib/apt/lists/*
apt-get install -y --no-install-recommends gcc && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /app/database
# pip auf den neuesten Stand bringen und Requirements installieren
COPY requirements.txt ./