fix: update dependencies to latest

This commit is contained in:
2023-07-02 18:45:54 +02:00
parent 10110d1a36
commit 1c1644f243
9 changed files with 1641 additions and 1673 deletions

View File

@ -1,15 +1,15 @@
FROM node:18.16.0 AS dependencies
FROM node:18.16.1 AS dependencies
WORKDIR /usr/src/app
COPY ./package*.json ./
RUN npm install
FROM node:18.16.0 AS builder
FROM node:18.16.1 AS builder
WORKDIR /usr/src/app
COPY --from=dependencies /usr/src/app/node_modules ./node_modules
COPY ./ ./
RUN npm run prisma:generate && npm run build
FROM node:18.16.0 AS runner
FROM node:18.16.1 AS runner
WORKDIR /usr/src/app
ENV NODE_ENV=production
COPY --from=builder /usr/src/app/node_modules ./node_modules