This commit is contained in:
1 parent
7249f001b1
commit
2aa59c5c01
1 file changed
+1
-1
@@ -12,7 +12,7 @@ export PARSA_BUILD_CONTEXT="$APP_DIR"
|
||||
export PARSA_BACKEND_IMAGE="parsa-backend-ci:$EXPECTED"
|
||||
compose=(docker compose -p backend -f "$BASE_COMPOSE" -f "$APP_DIR/ops/backend.compose.yml")
|
||||
"${compose[@]}" config --quiet
|
||||
"${compose[@]}" build backend
|
||||
DOCKER_BUILDKIT=0 "${compose[@]}" build backend
|
||||
# Exercise the autoloader in the built image before touching the current container.
|
||||
docker run --rm --network none --entrypoint php "$PARSA_BACKEND_IMAGE" -r 'require "/var/www/html/vendor/autoload.php"; if (!class_exists("Illuminate\\Foundation\\Application")) { exit(1); }'
|
||||
# Additive activity-only schema; no unrelated migrations or seeders.
|
||||
|
||||
Reference in new issue
Block a user