Guest User

Untitled

a guest
Jan 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. FROM python:3.6
  2.  
  3. # set the working directory
  4. RUN ["mkdir", "app"]
  5. WORKDIR "app"
  6.  
  7. # install code dependencies
  8. COPY "requirements.txt" .
  9. RUN ["pip", "install", "-r", "requirements.txt"]
  10.  
  11. # install environment dependencies
  12. COPY "app.py" .
  13. COPY "run.sh" .
  14. COPY "build.ipynb" .
  15. COPY "health-check-data.csv" .
  16.  
  17. # provision environment
  18. ENV FLASK_APP app.py
  19. RUN ["chmod", "+x", "./run.sh"]
  20. EXPOSE 8080
  21. ENTRYPOINT ["./run.sh"]
  22. CMD ["train"]
Add Comment
Please, Sign In to add comment