docker update
This commit is contained in:
@ -2,9 +2,9 @@
|
||||
FROM node:18-alpine as build
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm ci --legacy-peer-deps
|
||||
COPY . .
|
||||
RUN npm run build --configuration production
|
||||
RUN npm run build -- --configuration production
|
||||
|
||||
# Stage 2: Serve via Nginx
|
||||
FROM nginx:alpine
|
||||
|
||||
Reference in New Issue
Block a user