Use Python 3.11 where we can
This commit is contained in:
parent
48242b9a3c
commit
0edef7c520
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue