Skip to content

Commit 2f7e3e7

Browse files
Merge pull request #791 from geekygirlsarah/main
Fix GH Action Docker build error
2 parents 80098c6 + 993ca5f commit 2f7e3e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
FROM python:3-slim
1+
FROM python:3.12-slim
22
ENV PYTHONBUFFERED=1
33
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/*
48
COPY requirements.txt /code/
59
RUN pip install --no-cache-dir -r requirements.txt
610
COPY . .

0 commit comments

Comments
 (0)