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"]