SHOOT I f'ed up

This commit is contained in:
kjeld Schouten-Lebbing
2021-04-18 16:47:58 +02:00
parent 59a66a160f
commit abec793318
2 changed files with 2 additions and 7 deletions

View File

@@ -90,8 +90,6 @@ RUN \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/ \
&& mkdir -p /data/appdata \
&& chmod -R 777 /data \
&& chmod -R u=rwX,go=rX /app \
&& printf "umask %d" "${UMASK}" >> /etc/bash.bashrc \
&& update-ca-certificates \

View File

@@ -1,7 +1,4 @@
#!/usr/bin/env bash
echo "Patching youtubedl-material"
cd /data
find . -maxdepth 1 ! -name users ! -name appdata -exec rm -Rf {} + || echo""
cp -Rn /app/* /data || echo""
exec node /data/app.js ${@} ${EXTRA_ARGS}
exec node /app/app.js ${@} ${EXTRA_ARGS}