Update Dockerfile

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent 1c1902b22f
commit e3c49299b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,10 +10,9 @@ ENV UPDATE false
COPY --from=binstage / / COPY --from=binstage / /
# hardware env # hardware env
ENV \ ENV LIBVA_DRIVERS_PATH="/usr/lib/x86_64-linux-gnu/dri"
LIBVA_DRIVERS_PATH="/usr/lib/x86_64-linux-gnu/dri" \ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
NVIDIA_DRIVER_CAPABILITIES="compute,video,utility" \ ENV NVIDIA_VISIBLE_DEVICES="all"
NVIDIA_VISIBLE_DEVICES="all"
RUN \ RUN \
# ffmpeg # ffmpeg
@ -35,10 +34,8 @@ RUN \
rm -rf \ rm -rf \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/* /var/tmp/*
chgrp users /usr/local/bin/ffmpeg && \ chmod 777 /usr/local/bin/ffmpeg && \
chgrp users /usr/local/bin/ffprobe && \ chmod 777 /usr/local/bin/ffprobe
chmod g+x /usr/local/bin/ffmpeg && \
chmod g+x /usr/local/bin/ffprobe
ENV VERSION="1.0.0" ENV VERSION="1.0.0"

Loading…
Cancel
Save