Update package-lock.json + simplify Dockerfile

This commit is contained in:
Sebastjan 2026-06-07 14:52:14 +02:00
parent bcbc76bf43
commit d702cdb611
2 changed files with 781 additions and 1240 deletions

View File

@ -2,7 +2,7 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
RUN npm install --no-audit --no-fund
COPY . .
RUN npm run build
@ -10,8 +10,7 @@ FROM node:20-alpine
WORKDIR /app
ENV NODE_ENV=production
COPY package*.json ./
RUN npm ci --omit=dev && npm cache clean --force
RUN npm install --omit=dev --no-audit --no-fund && npm cache clean --force
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/client/dist ./client/dist 2>/dev/null || true
EXPOSE 5000
CMD ["npm", "run", "start"]

2016
package-lock.json generated

File diff suppressed because it is too large Load Diff