Initial commit

This commit is contained in:
alstr
2020-03-07 15:06:00 +00:00
commit bf153fe2df
5 changed files with 210 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3-slim AS builder
ADD . /app
WORKDIR /app
RUN pip install --target=/app requests
FROM gcr.io/distroless/python3-debian10
COPY --from=builder /app /app
WORKDIR /app
ENV PYTHONPATH /app
CMD ["/app/main.py"]