fix: update dependencies to latest

This commit is contained in:
2023-09-18 22:36:35 +02:00
parent 2bdcae81b5
commit 5532a6a398
10 changed files with 1007 additions and 677 deletions

View File

@ -1,15 +1,15 @@
FROM node:20.5.1 AS dependencies
FROM node:20.6.1 AS dependencies
WORKDIR /usr/src/app
COPY ./package*.json ./
RUN npm clean-install
FROM node:20.5.1 AS builder
FROM node:20.6.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:20.5.1 AS runner
FROM node:20.6.1 AS runner
WORKDIR /usr/src/app
ENV NODE_ENV=production
ENV NODE_OPTIONS=--enable-source-maps