todo-to-issue-action/Dockerfile
2024-09-16 15:02:26 +01:00

13 lines
328 B
Docker

FROM python:3-slim AS builder
ADD main.py /app/main.py
WORKDIR /app
RUN pip install --target=/app requests
RUN pip install --target=/app -U pip setuptools wheel
RUN pip install --target=/app ruamel.yaml
FROM gcr.io/distroless/python3-debian12
COPY --from=builder /app /app
WORKDIR /app
ENV PYTHONPATH /app
CMD ["/app/main.py"]