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
WORKDIR /app
# Copy package.json and workspace package directory first (needed for workspace resolution)
COPY package.json .
COPY frontend/packages/ frontend/packages/
RUN --mount=type=cache,target=/root/.npm \
npm install --ignore-scripts
# 1.2. Build
# 1.2. Copy remaining frontend code and build
COPY frontend frontend
RUN npm run frontend:build