From fb19f31cb1a04762529934424d9f2bf4836ce8e6 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 17 Mar 2020 07:48:50 -0400 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42feea3..5dc3388 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,11 +34,6 @@ RUN \ rm -rf \ /var/lib/apt/lists/* \ /var/tmp/* - chmod 777 /usr/local/bin/ffmpeg && \ - chmod 777 /usr/local/bin/ffprobe - - -ENV VERSION="1.0.0" RUN \ # install dependancies @@ -51,7 +46,12 @@ RUN \ jq \ cron && \ apt-get purge --auto-remove -y && \ - apt-get clean + apt-get clean && \ + chgrp users /usr/local/bin/ffmpeg && \ + chgrp users /usr/local/bin/ffprobe && \ + chmod g+x /usr/local/bin/ffmpeg && \ + chmod g+x /usr/local/bin/ffprobe + # get python3 and git, and install python libraries RUN \