todo-to-issue-action/Dockerfile
2021-11-11 13:25:27 +00: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-debian10
COPY --from=builder /app /app
WORKDIR /app
ENV PYTHONPATH /app
CMD ["/app/main.py"]