Add pricing v1, the delivery agent, and the release pipeline (#15) #16

Merged
cedric merged 5 commits from assignment8-secure-delivery into main 2026-11-04 23:36:40 +00:00
Showing only changes of commit 1704b5c61a - Show all commits
+3 -2
View File
@@ -1,9 +1,10 @@
FROM python:3.13-slim@sha256:ae14d4ce8771606477a81446e7ef429edd6762305fc50c84507c1041fa8285d1 FROM python:3.13-alpine3.23@sha256:e4aeaca9081549f19bd5bc8605ed5ab257ba34f97e0471f8e09161f45b4b08b8
ARG APP_COMMIT=development ARG APP_COMMIT=development
ENV APP_COMMIT=$APP_COMMIT PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 ENV APP_COMMIT=$APP_COMMIT PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
WORKDIR /app WORKDIR /app
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt # pip is not needed at runtime, and its bundled packages carry scanner findings.
RUN pip install --no-cache-dir -r requirements.txt && python -m pip uninstall -y pip && rm -rf /usr/local/lib/python3.13/ensurepip
COPY app.py . COPY app.py .
USER 10001:10001 USER 10001:10001
EXPOSE 8000 EXPOSE 8000