mirror of
https://github.com/puppetlabs/infinitory.git
synced 2026-01-26 02:08:41 -05:00
(DIO-834) Adds infinitory-flask component
This commit is contained in:
parent
fd1ad61fce
commit
79fc53cacc
4 changed files with 110 additions and 1 deletions
9
infinitory-flask/Dockerfile
Normal file
9
infinitory-flask/Dockerfile
Normal 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}
|
||||
Loading…
Add table
Add a link
Reference in a new issue