todo-to-issue-action/Dockerfile
2024-10-25 02:49:17 +00:00

13 lines
318 B
Docker

FROM python:3-slim AS builder
ADD *.py /app/
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"]