ensure frontend-entrypoint.sh is in the right place

This commit is contained in:
2026-05-01 22:35:18 +02:00
parent a80b3ad5b1
commit 5d3e96a6a8
+2
View File
@@ -32,6 +32,8 @@ echo "🏷️ Image tag: ${GIT_TAG}"
echo "📦 Building and starting production containers..." echo "📦 Building and starting production containers..."
echo "🔧 Frontend will use API: ${API_URL:-https://bamort-api.trokan.de}" echo "🔧 Frontend will use API: ${API_URL:-https://bamort-api.trokan.de}"
cp ../docker/frontend-entrypoint.sh ../frontend/docker-entrypoint.sh
# Build only if images for this commit don't exist yet # Build only if images for this commit don't exist yet
if ! docker image inspect "bamort-backend:${GIT_TAG}" > /dev/null 2>&1 || \ if ! docker image inspect "bamort-backend:${GIT_TAG}" > /dev/null 2>&1 || \
! docker image inspect "bamort-frontend:${GIT_TAG}" > /dev/null 2>&1; then ! docker image inspect "bamort-frontend:${GIT_TAG}" > /dev/null 2>&1; then