mirror of
https://github.com/linuxserver/docker-ffmpeg.git
synced 2026-02-20 04:56:23 +08:00
functional dockerfile stash
This commit is contained in:
parent
5d7f54a9c4
commit
2cf01c2bbd
13
Dockerfile
13
Dockerfile
@ -42,7 +42,8 @@ RUN \
|
||||
echo "**** install stuff specific to the dev container ****" && \
|
||||
apt-get install -y \
|
||||
git \
|
||||
npm && \
|
||||
npm \
|
||||
sudo && \
|
||||
npm install -g nodemon && \
|
||||
echo "**** install web app from git ****" && \
|
||||
if [ -z ${FFMPEGWEB_COMMIT+x} ]; then \
|
||||
@ -52,16 +53,18 @@ RUN \
|
||||
git clone \
|
||||
https://github.com/linuxserver/docker-ffmpeg.git \
|
||||
/app/ffmpeg-web && \
|
||||
cd /app/ffmpeg-web && \
|
||||
git \
|
||||
--git-dir /app/ffmpeg-web/.git \
|
||||
checkout -f ${FFMPEGWEB_COMMIT} && \
|
||||
pip3 install \
|
||||
-r /app/ffmpeg-web/requirements.txt && \
|
||||
-r requirements.txt && \
|
||||
echo "**** permissions ****" && \
|
||||
mkdir -p /applogs/ && \
|
||||
mkdir -p \
|
||||
/applogs \
|
||||
/c9sdk/build/standalone && \
|
||||
chown -R abc:abc \
|
||||
/app/ffmpeg-web \
|
||||
/applogs && \
|
||||
/applogs \
|
||||
/c9sdk/build/standalone \
|
||||
/c9bins && \
|
||||
usermod -aG sudo \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user