Merge pull request 'Skip migration schema lock file in container entrypoint' (#63) from fix/docker-migrate-no-lock into main
CI / Deploy / test (push) Successful in 59s
CI / Deploy / deploy (push) Successful in 5s
Container Image / docker-build-image (push) Successful in 1m28s

Reviewed-on: #63
This commit was merged in pull request #63.
This commit is contained in:
gnilebein committed 2026-11-11 23:56:42 +01:00
commit 52c0fd520a
1 file changed
+2 -1
+2 -1
View File
@@ -10,7 +10,8 @@ if [ -z "${SECURITY_SALT:-}" ] || [ "${SECURITY_SALT}" = "__SALT__" ]; then
exit 1 exit 1
fi fi
php bin/cake.php migrations migrate # --no-lock: skip the schema dump lock file; config/ is read-only for www-data and the file is only a dev aid
php bin/cake.php migrations migrate --no-lock
php bin/cake.php cache clear_all php bin/cake.php cache clear_all
exec php bin/cake.php server -H 0.0.0.0 -p "${PORT:-8765}" exec php bin/cake.php server -H 0.0.0.0 -p "${PORT:-8765}"