Fix deployment

This commit is contained in:
2025-12-05 13:58:27 +03:00
Unverified
parent cc29d2d546
commit 35b442f827
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -3,11 +3,13 @@ FROM node:24 AS frontend
# 1.1. Install npm dependencies # 1.1. Install npm dependencies
WORKDIR /app WORKDIR /app
# Copy package.json and workspace package directory first (needed for workspace resolution)
COPY package.json . COPY package.json .
COPY frontend/packages/ frontend/packages/
RUN --mount=type=cache,target=/root/.npm \ RUN --mount=type=cache,target=/root/.npm \
npm install --ignore-scripts npm install --ignore-scripts
# 1.2. Build # 1.2. Copy remaining frontend code and build
COPY frontend frontend COPY frontend frontend
RUN npm run frontend:build RUN npm run frontend:build
+1
View File
@@ -329,6 +329,7 @@ for SERVICE in $SERVICES; do
echo "" echo ""
else else
error "Build failed for $SERVICE" error "Build failed for $SERVICE"
exit 1
fi fi
done done