From dc39c513e56f6809113a5689f7b34211acb25c77 Mon Sep 17 00:00:00 2001 From: Lea Date: Tue, 26 Sep 2023 20:48:15 +0200 Subject: [PATCH] m --- javascript.Dockerfile | 6 +++--- typescript.Dockerfile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/javascript.Dockerfile b/javascript.Dockerfile index f89ba99..79ed6ad 100644 --- a/javascript.Dockerfile +++ b/javascript.Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 as build +FROM node:19 as build WORKDIR /build/app COPY package.json /build/app/ @@ -7,7 +7,7 @@ RUN corepack enable RUN corepack prepare pnpm@latest --activate RUN pnpm install -FROM node:18 as run +FROM node:19 as run WORKDIR /app COPY --from=build /build/app/ /app/ -CMD ["node", "dist"] +CMD ["node", "."] diff --git a/typescript.Dockerfile b/typescript.Dockerfile index baff7a2..e3d96d1 100644 --- a/typescript.Dockerfile +++ b/typescript.Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 as build +FROM node:19 as build WORKDIR /build/app COPY package.json tsconfig.json /build/app/ @@ -8,7 +8,7 @@ RUN corepack prepare pnpm@latest --activate RUN pnpm install RUN pnpm run build -FROM node:18 as run +FROM node:19 as run WORKDIR /app COPY --from=build /build/app/ /app/ CMD ["node", "dist"]