[wip] use Python 3.11 & update all dependencies

This commit is contained in:
ducklet 2023-02-02 00:00:24 +01:00
parent 7823708383
commit 13b65103fd
4 changed files with 439 additions and 410 deletions

View file

@ -1,4 +1,4 @@
FROM docker.io/library/python:3.10-alpine
FROM docker.io/library/python:3.11-alpine
RUN apk update --no-cache \
&& apk upgrade --no-cache \
@ -11,13 +11,8 @@ WORKDIR /var/app
COPY requirements.txt ./
# Required to build greenlet on Alpine, dependency of SQLAlchemy 1.4.
RUN apk add --no-cache \
--virtual .build-deps \
g++ gcc musl-dev \
&& pip install --no-cache-dir --upgrade \
--requirement requirements.txt \
&& apk del .build-deps
RUN pip install --no-cache-dir --upgrade \
--requirement requirements.txt
USER 10000:10001