Use Python 3.11 where we can

This commit is contained in:
TheophileDiot 2022-10-24 16:39:35 +02:00
parent 48242b9a3c
commit 0edef7c520
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM python:3-alpine
FROM python:3.11-rc-alpine
# Copy python requirements
COPY bw/deps/requirements.txt /opt/bunkerweb/deps/requirements.txt

View File

@ -1,4 +1,4 @@
FROM python:3-alpine
FROM python:3.11-rc-alpine
# Copy python requirements
COPY bw/deps/requirements.txt /opt/bunkerweb/deps/requirements.txt

View File

@ -1,4 +1,4 @@
FROM python:3-alpine AS builder
FROM python:3.11-rc-alpine AS builder
# Copy python requirements
COPY bw/deps/requirements.txt /opt/bunkerweb/deps/requirements.txt
@ -9,7 +9,7 @@ RUN apk add --no-cache --virtual build g++ gcc python3-dev musl-dev libffi-dev o
pip install --no-cache-dir --require-hashes --target /opt/bunkerweb/deps/python -r /opt/bunkerweb/deps/requirements.txt && \
apk del build
FROM python:3-alpine
FROM python:3.11-rc-alpine
COPY --from=builder /opt/bunkerweb/deps/python /opt/bunkerweb/deps/python