Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM python:3.6
- # set the working directory
- RUN ["mkdir", "app"]
- WORKDIR "app"
- # install code dependencies
- COPY "requirements.txt" .
- RUN ["pip", "install", "-r", "requirements.txt"]
- # install environment dependencies
- COPY "app.py" .
- COPY "run.sh" .
- COPY "build.ipynb" .
- COPY "health-check-data.csv" .
- # provision environment
- ENV FLASK_APP app.py
- RUN ["chmod", "+x", "./run.sh"]
- EXPOSE 8080
- ENTRYPOINT ["./run.sh"]
- CMD ["train"]
Add Comment
Please, Sign In to add comment