npm install in dockerfile
All checks were successful
Deploy to Server / deploy (push) Successful in 1m20s

This commit is contained in:
2026-04-10 00:38:47 -05:00
parent 00541df679
commit 25fcaec204
3 changed files with 6 additions and 13 deletions

View File

@@ -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