This commit is contained in:
jeremygan2021
2026-02-02 22:55:41 +08:00
parent 5abe86fd0e
commit 43a0b65803
5 changed files with 86 additions and 23 deletions

View File

@@ -8,12 +8,6 @@ ENV PYTHONUNBUFFERED=1
# Set work directory
WORKDIR /app
# Install system dependencies (needed for psycopg2 and others)
RUN apt-get update && apt-get install -y \
gcc \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
# Install python dependencies
COPY requirements.txt /app/
RUN pip install --upgrade pip && pip install -r requirements.txt