update build paths
This commit is contained in:
2
backend/.npmrc
Normal file
2
backend/.npmrc
Normal file
@@ -0,0 +1,2 @@
|
||||
registry=https://registry.npmjs.org/
|
||||
omit-lockfile-registry-resolved=true
|
||||
2
frontend/.npmrc
Normal file
2
frontend/.npmrc
Normal file
@@ -0,0 +1,2 @@
|
||||
registry=https://registry.npmjs.org/
|
||||
omit-lockfile-registry-resolved=true
|
||||
@@ -7,7 +7,7 @@ FROM node:20-alpine AS builder
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files for dependency installation
|
||||
COPY package*.json ./
|
||||
COPY package*.json .npmrc ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci --include=dev
|
||||
|
||||
Reference in New Issue
Block a user