Update Dockerfiles and compose paths for new flat structure

This commit is contained in:
Халимов Рустам
2026-03-19 22:34:49 +03:00
parent 77912f2d88
commit 17d02beb30
4 changed files with 9 additions and 12 deletions
+3 -3
View File
@@ -3,15 +3,15 @@ FROM node:20-alpine AS build
WORKDIR /app
# Copy package files for apps/web
# Copy package files
# We use the local package files to avoid workspace hoisting issues in Docker
COPY apps/web/package.json ./
COPY package.json ./
# If there is a lockfile in apps/web, use it, otherwise use root (but root is workspace, so better not)
# Let's try to generate a clean install
RUN npm install --legacy-peer-deps
# Copy source code
COPY apps/web/ ./
COPY . ./
# Build web frontend
RUN npm run build