diff --git a/Dockerfile b/Dockerfile index 5a41ccf..4cc2d8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,20 +1,20 @@ -FROM ghcr.io/radiorabe/s2i-python:2.2.6 AS build +FROM ghcr.io/radiorabe/s2i-python:3.1.0 AS build COPY --chown=1001:0 ./ /opt/app-root/src/ RUN python -mbuild -FROM ghcr.io/radiorabe/python-minimal:2.2.3 AS app +FROM ghcr.io/radiorabe/python-minimal:3.1.0 AS app COPY --from=build /opt/app-root/src/dist/*.whl /tmp/dist/ RUN microdnf install -y \ - python3.11-pip \ + python3.12-pip \ && python -mpip --no-cache-dir install /tmp/dist/*.whl \ && microdnf remove -y \ - python3.11-pip \ - python3.11-setuptools \ + python3.12-pip \ + python3.12-setuptools \ && microdnf clean all \ && rm -rf /tmp/dist/