npm install in dockerfile
All checks were successful
Deploy to Server / deploy (push) Successful in 1m20s
All checks were successful
Deploy to Server / deploy (push) Successful in 1m20s
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# ---- Build stage ----
|
||||
FROM node:22-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm install && npm audit fix
|
||||
COPY . .
|
||||
RUN npx vite build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user