Created
March 17, 2018 17:50
-
-
Save SandyRogers/572271449992f8508a9f6aa4ee89cb6f to your computer and use it in GitHub Desktop.
A Dockerfile for SageMaker custom models using python/flask
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
# Start with an official python parent image | |
FROM python:3.6 | |
WORKDIR /app | |
ADD . /app | |
RUN pip install -r requirements.txt | |
# SageMaker requires this form of running (not RUN) | |
ENTRYPOINT ["python", "app.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment