chore: updated version of almost everything

This commit is contained in:
Riccardo
2024-07-20 18:11:30 +02:00
parent 40ea89f273
commit 198e77e1dd
9 changed files with 1040 additions and 15555 deletions

View File

@@ -1,17 +1,17 @@
# Development stage
FROM node:18 as builder
FROM node:20 as builder
WORKDIR /app
COPY package*.json yarn.lock ./
RUN yarn install --frozen-lockfile
RUN yarn install
COPY . .
RUN yarn build
# Production stage
FROM node:18-slim
FROM node:20-slim
RUN apt-get update && apt-get install -y openssl
@@ -21,7 +21,7 @@ COPY --from=builder /app/package*.json ./
COPY --from=builder /app/build ./build
COPY --from=builder /app/prisma ./prisma
RUN yarn install --frozen-lockfile --production
RUN yarn install --production
EXPOSE 3000