Files
demo f893b5e196 Initial commit: payment API with vulnerable legacy billing module
Python/Flask, intentionally outdated dependencies (flask 2.0.1, requests 2.25.1,
urllib3 1.26.4) for SCA demo. CWE-89, CWE-327, CWE-798, CWE-22 in legacy_billing.py.
2026-09-02 11:33:14 +00:00

9 lines
221 B
Docker

FROM public.ecr.aws/docker/library/python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py legacy_billing.py ./
EXPOSE 5000
USER 65534
CMD ["python", "app.py"]