fix: update dependencies to latest

This commit is contained in:
Divlo
2023-04-02 23:45:47 +02:00
parent 78d7dbdb3f
commit 8a327eb7c7
11 changed files with 3767 additions and 1778 deletions

View File

@ -1,15 +1,15 @@
FROM node:18.13.0 AS dependencies
FROM node:18.15.0 AS dependencies
WORKDIR /usr/src/app
COPY ./package*.json ./
RUN npm install
FROM node:18.13.0 AS builder
FROM node:18.15.0 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.13.0 AS runner
FROM node:18.15.0 AS runner
WORKDIR /usr/src/app
ENV NODE_ENV=production
COPY --from=builder /usr/src/app/node_modules ./node_modules