(DIO-834) Adds infinitory-flask component

This commit is contained in:
suckatrash 2020-09-29 10:02:54 -07:00
parent fd1ad61fce
commit 79fc53cacc
No known key found for this signature in database
GPG key ID: 3857A763831B0756
4 changed files with 110 additions and 1 deletions

View file

@ -0,0 +1,9 @@
FROM python:3
ADD app.py /
ENV GOOGLE_APPLICATION_CREDENTIALS $GOOGLE_APPLICATION_CREDENTIALS
ENV TZ=America/Los_Angeles
ENV BUCKET $BUCKET
RUN pip install --upgrade pip
RUN pip install flask google-cloud-storage
EXPOSE 5000
ENTRYPOINT python app.py ${BUCKET}