Upgrade dependencies and migrate from Joi to Zod for validation
This commit is contained in:
parent
4fa0190e4b
commit
a26d0c77a1
12 changed files with 498 additions and 287 deletions
|
@ -1,5 +1,5 @@
|
|||
# Build stage
|
||||
FROM node:18-alpine AS build
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json .
|
||||
RUN npm ci
|
||||
|
@ -13,7 +13,7 @@ COPY package*.json .
|
|||
RUN npm ci --omit=dev
|
||||
|
||||
# Prod stage
|
||||
FROM node:18-alpine AS production
|
||||
FROM node:22-alpine AS production
|
||||
WORKDIR /app
|
||||
COPY package*.json .
|
||||
COPY --from=build /app/dist ./dist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue