From 8dd8ab0996eb3ad6166a36ff7a4464869635e5a9 Mon Sep 17 00:00:00 2001 From: SebClem Date: Thu, 25 Jan 2024 11:54:17 +0100 Subject: [PATCH] Fix python 3.12 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ef33c8b..997e2f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # For more information, please refer to https://aka.ms/vscode-docker-python -FROM python:3.11-slim +FROM python:3.12-alpine # Keeps Python from generating .pyc files in the container ENV PYTHONDONTWRITEBYTECODE=1 @@ -7,6 +7,8 @@ ENV PYTHONDONTWRITEBYTECODE=1 # Turns off buffering for easier container logging ENV PYTHONUNBUFFERED=1 +RUN apk add build-base + # Install pip requirements COPY requirements.txt . RUN python -m pip install -r requirements.txt