try for mount
Build and Push Docker Images / build-and-push (push) Successful in 20s

This commit is contained in:
2025-05-08 16:51:23 +02:00
parent 65825b4ad9
commit d3888cf96e
3 changed files with 21 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# If /opt/app/package.json does not exist, copy the app skeleton into /opt/app
if [ ! -f /opt/app/package.json ]; then
echo "Initializing /opt/app with application files..."
cp -R /opt/app-template/* /opt/app/
cp -R /opt/app-template/.[!.]* /opt/app/ 2>/dev/null || true
fi
cd /opt/app
exec "$@"