Files
s5p/Containerfile
user 8c99544e34
Some checks failed
ci / test (push) Failing after 18s
ci / build (push) Has been skipped
feat: add Gitea CI workflow and production Containerfile
Bake source into the image (COPY src/) so production containers
run without volume mounts. CI pipeline runs ruff + pytest then
builds and pushes harbor.mymx.me/s5p/s5p:latest on push to main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 17:18:14 +01:00

18 lines
288 B
Docker

FROM python:3.13-alpine
RUN 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"]