Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. FROM python:3.6-slim-stretch
  2.  
  3. RUN apt update
  4. RUN apt install -y python3-dev gcc
  5. RUN apt install -y ffmpeg
  6.  
  7. ADD requirements.txt requirements.txt
  8. RUN pip install -r requirements.txt
  9.  
  10. COPY app app/
  11.  
  12. RUN python app/server.py
  13.  
  14. EXPOSE 8080
  15.  
  16. CMD ["python", "app/server.py", "serve"]```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement