Last active
February 17, 2020 17:04
-
-
Save bgweber/01a26c55d49771cf79d0bad901857777 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
MAINTAINER Ben Weber | |
RUN apt-get update \ | |
&& apt-get install -y python3-pip python3-dev \ | |
&& cd /usr/local/bin \ | |
&& ln -s /usr/bin/python3 python | |
RUN pip3 install flask | |
RUN pip3 install pandas | |
RUN pip3 install gunicorn | |
RUN pip3 install scikit-learn | |
RUN pip3 install google-cloud-logging | |
RUN pip3 install google-cloud-monitoring | |
COPY serving.json serving.json | |
COPY app.py app.py | |
ENTRYPOINT ["gunicorn", "--bind", "0.0.0.0", "serving:app"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment