update base image, reorder build steps

This commit is contained in:
Von Random 2025-01-31 14:23:19 +02:00
parent 8ab44e1fdb
commit be95d4f542

View file

@ -1,8 +1,10 @@
FROM python:alpine3.20
FROM python:alpine3.21
WORKDIR /pgbot
COPY . .
ENV PIP_ROOT_USER_ACTION=ignore
RUN pip install -r requirements.txt
COPY . .
CMD /pgbot/pgbot