update base image, reorder build steps
This commit is contained in:
parent
8ab44e1fdb
commit
be95d4f542
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue