fix: Docker python version and fix reporting missing requirements
All checks were successful
Build Docker / Build Image (push) Successful in 2m58s

This commit is contained in:
2025-08-29 13:28:12 +10:00
parent 373a71f04d
commit 1203719eac
2 changed files with 30 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
FROM --platform=$BUILDPLATFORM python:3.10-alpine AS builder
FROM --platform=$BUILDPLATFORM python:3.13-alpine AS builder
WORKDIR /app
RUN apk add git openssl curl
COPY requirements.txt /app
RUN --mount=type=cache,target=/root/.cache/pip \
pip3 install -r requirements.txt
@@ -10,9 +10,8 @@ COPY . /app
# Add mount point for data volume
# VOLUME /data
RUN apk add git openssl curl
ENTRYPOINT ["python3"]
CMD ["server.py"]
FROM builder as dev-envs
FROM builder AS dev-envs