Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM python:3.6-slim-stretch
- RUN apt update
- RUN apt install -y python3-dev gcc
- RUN apt install -y ffmpeg
- ADD requirements.txt requirements.txt
- RUN pip install -r requirements.txt
- COPY app app/
- RUN python app/server.py
- EXPOSE 8080
- CMD ["python", "app/server.py", "serve"]```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement