Automatically install ffmpeg and optional requirements on Okteto

pull/1/head
Hikari 2022-04-17 07:08:36 +00:00
parent db79a8a18f
commit 863892d9a0
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ FROM python:3.8
ADD . /
ENV OKTETO=true
RUN pip install -r requirements.txt
RUN pip install -r optional_requirements.txt
RUN apt update && apt install ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libavdevice-dev -y
EXPOSE 8080
RUN mkdir /data
CMD ["python3", "-m", "hikka"]