Update Dockerfile

This commit is contained in:
Alexandre
2023-06-28 19:55:20 +02:00
committed by GitHub
parent 5b0a9918d3
commit 394e57604b

View File

@@ -71,7 +71,7 @@ RUN \
sed -i "s|/fgc|/data|g" /usr/local/bin/docker-entrypoint.sh && \
# Run scripts only once
sed -i "1a if [ -f /done ]; then exit 0; fi && touch /done" /entrypoint.sh && \
sed -i "s=2>/dev/null=2>/dev/null || true=g" /usr/local/bin/docker-entrypoint.sh && \
sed -i "s=x11vnc=[[ \"\$(ps aux | grep \"x11vnc\" | grep -v grep)\" ]] || x11vnc=g" /usr/local/bin/docker-entrypoint.sh && \
# Allow entrypoint
chmod 777 /entrypoint.sh