vod-rtmp/frontend/Dockerfile

12 lines
278 B
Docker
Raw Normal View History

2021-10-10 18:57:54 -04:00
FROM python:3
RUN mkdir /code
RUN pip --no-cache-dir install \
flask \
pyyaml \
uwsgi
COPY ./app /code
ADD https://github.com/bilibili/flv.js/releases/download/v1.5.0/flv.min.js /code/static/flv.min.js
RUN chmod 644 /code/static/flv.min.js
USER nobody
WORKDIR /code