Update Dockerfiles and compose paths for new flat structure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user