[wip] use Python 3.11 & update all dependencies
This commit is contained in:
parent
7823708383
commit
13b65103fd
4 changed files with 439 additions and 410 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue