mirror of
https://github.com/puppetlabs/infinitory.git
synced 2026-01-25 18:08:40 -05:00
9 lines
260 B
Docker
9 lines
260 B
Docker
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}
|