hqt

Untitled

hqt
Apr 13th, 2018
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. FROM python:2.7.14-alpine3.7
  2. LABEL maintainer="[email protected]"
  3.  
  4. RUN apk update
  5.  
  6. ENV APP_HOME = /webapp
  7. WORKDIR /webapp
  8.  
  9. COPY requirements.txt /webapp/
  10.  
  11. RUN pip install -r /webapp/requirements.txt
  12.  
  13. COPY . /webapp/
  14.  
  15. EXPOSE 8888
  16.  
  17. RUN chmod +x /webapp/docker/run.sh
  18. ENTRYPOINT ["/webapp/docker/run.sh"]
Advertisement
Add Comment
Please, Sign In to add comment