Av1an/Dockerfile
Luigi311 5f0ece3781 Docker: Use luigi311/encoders-docker base, update readme
Signed-off-by: Luigi311 <luigi311.lg@gmail.com>
2021-02-09 22:41:53 -07:00

27 lines
678 B
Docker

FROM luigi311/encoders-docker:latest
ENV MPLCONFIGDIR="/home/app_user/"
ARG DEBIAN_FRONTEND=noninteractive
# Install VTM
RUN git clone https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM.git /home/app_user/VTM && \
mkdir -p /home/app_user/VTM/build
WORKDIR /home/app_user/VTM/build
RUN cmake .. -DCMAKE_BUILD_TYPE=Release && \
make -j"$(nproc)" && \
ln -s ../bin/EncoderAppStatic /usr/local/bin/vvc_encoder
# Install av1an
COPY . /home/app_user/Av1an
WORKDIR /home/app_user/Av1an
RUN python3 setup.py install
# Change permissions
RUN chmod 777 -R /home/app_user
USER app_user
VOLUME ["/videos"]
WORKDIR /videos
ENTRYPOINT [ "/home/app_user/Av1an/av1an.py" ]