ensure frontend-entrypoint.sh is in the right place
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user