Fix python 3.12
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
SebClem 2024-01-25 11:54:17 +01:00
parent d57751e1a1
commit 8dd8ab0996

View File

@ -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