Replace ubuntu-latest runner with linux label and migrate all container operations from docker to podman. Add requirements.txt as single source of truth for runtime dependencies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
370 B
Docker
20 lines
370 B
Docker
FROM python:3.13-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir --upgrade pip && \
|
|
pip install --no-cache-dir -r requirements.txt
|
|
|
|
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"]
|