We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80098c6 + 993ca5f commit 2f7e3e7Copy full SHA for 2f7e3e7
1 file changed
Dockerfile
@@ -1,6 +1,10 @@
1
-FROM python:3-slim
+FROM python:3.12-slim
2
ENV PYTHONBUFFERED=1
3
WORKDIR /code
4
+RUN apt-get update && apt-get install -y --no-install-recommends \
5
+ libpq-dev \
6
+ gcc \
7
+ && rm -rf /var/lib/apt/lists/*
8
COPY requirements.txt /code/
9
RUN pip install --no-cache-dir -r requirements.txt
10
COPY . .
0 commit comments