Update dockerfile

This commit is contained in:
2024-12-13 20:48:30 +00:00
parent 6a974bdadf
commit d52d71ef6c

View File

@@ -1,9 +1,11 @@
FROM node:18 as build
FROM node:22 as build
WORKDIR /app
COPY package.json package.json
COPY .yarnrc.yml .yarnrc.yml
COPY yarn.lock yarn.lock
COPY tsconfig.json tsconfig.json
RUN corepack enable
RUN yarn install
COPY src ./src