Skip to content

Instantly share code, notes, and snippets.

@SandyRogers
Created March 17, 2018 17:50
Show Gist options
  • Save SandyRogers/572271449992f8508a9f6aa4ee89cb6f to your computer and use it in GitHub Desktop.
Save SandyRogers/572271449992f8508a9f6aa4ee89cb6f to your computer and use it in GitHub Desktop.
A Dockerfile for SageMaker custom models using python/flask
# 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