Files
s5p/Containerfile
user c1c92ddc39
All checks were successful
ci / secrets (push) Successful in 10s
ci / test (push) Successful in 21s
ci / build (push) Successful in 23s
fix: upgrade pip in container image (CVE-2026-1703)
Path traversal in malicious wheel extraction, fixed in pip 26.0.
2026-02-21 18:50:35 +01:00

19 lines
338 B
Docker

FROM python:3.13-alpine
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir pyyaml>=6.0
WORKDIR /app
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONPATH=/app/src
COPY src/ /app/src/
EXPOSE 1080
STOPSIGNAL SIGTERM
ENTRYPOINT ["python", "-m", "s5p"]
CMD ["-c", "/app/config/s5p.yaml"]