mirror of
https://github.com/linuxserver/docker-ffmpeg.git
synced 2026-02-20 04:56:23 +08:00
swap to watchdog and spit logs out to docker
This commit is contained in:
parent
8da1faf0c0
commit
f77d46b66a
@ -41,9 +41,9 @@ RUN \
|
||||
echo "**** install stuff specific to the dev container ****" && \
|
||||
apt-get install -y \
|
||||
git \
|
||||
npm \
|
||||
sudo && \
|
||||
npm install -g nodemon && \
|
||||
pip3 install \
|
||||
watchdog && \
|
||||
echo "**** install web app from git ****" && \
|
||||
git clone \
|
||||
https://github.com/linuxserver/docker-ffmpeg.git \
|
||||
|
||||
@ -3,5 +3,8 @@
|
||||
# Run App in development mode
|
||||
cd /app/ffmpeg-web
|
||||
exec \
|
||||
s6-setuidgid abc nodemon \
|
||||
--exec python3 server.py > /applogs/app.log 2>&1
|
||||
s6-setuidgid abc \
|
||||
watchmedo auto-restart \
|
||||
-d . \
|
||||
-p './server.py' \
|
||||
-- python3 server.py
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user