Use scanned Alpine runtime and supported Jenkins options

This commit is contained in:
2026-11-13 18:41:13 -05:00
parent 484e7f85b9
commit 586e74acd3
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
FROM python:3.13.18-slim-bookworm@sha256:f3dac913ab53b78c64f26d5518fcd7043d5a1a46522d6a493b598c3ed12f62a6
FROM python:3.13.18-alpine3.24@sha256:d76f585fb0d5107dd47143da5e61554fd9cae656a30f3470f815cb8475769b6a
ARG APP_COMMIT=development
ENV APP_COMMIT=$APP_COMMIT PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --only-binary=:all: -r requirements.txt
RUN pip install --no-cache-dir --only-binary=:all: -r requirements.txt && python -m pip uninstall -y pip
COPY app.py .
USER 10001:10001
EXPOSE 8000