Also update standalone docker image

This commit is contained in:
Tulir Asokan 2024-08-06 18:55:00 +03:00
parent 49adb9b441
commit b8714cc6b9

View File

@ -1,9 +1,8 @@
FROM docker.io/alpine:3.18
FROM docker.io/alpine:3.20
RUN apk add --no-cache \
python3 py3-pip py3-setuptools py3-wheel \
py3-aiohttp \
py3-sqlalchemy \
py3-attrs \
py3-bcrypt \
py3-cffi \
@ -26,8 +25,8 @@ RUN cd /opt/maubot \
python3-dev \
libffi-dev \
build-base \
&& pip3 install -r requirements.txt -r optional-requirements.txt \
&& pip3 install --break-system-packages -r requirements.txt -r optional-requirements.txt \
&& apk del .build-deps
COPY . /opt/maubot
RUN cd /opt/maubot && pip3 install .
RUN cd /opt/maubot && pip3 install --break-system-packages .