Skip to content

Commit e58f1ad

Browse files
author
mike dupont
committed
changed node version
1 parent 3951fc3 commit e58f1ad

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM node:20-slim AS base
1+
#18.20.4
2+
FROM node:18.20.4-slim AS base
23
ENV PNPM_HOME="/pnpm"
34
ENV PATH="$PNPM_HOME:$PATH"
45
RUN corepack enable
@@ -10,7 +11,8 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-l
1011

1112
FROM base AS build
1213
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
13-
RUN npm run build
14+
#RUN npm run build
15+
RUN pnpm run build
1416

1517
FROM base
1618
COPY --from=prod-deps /app/node_modules /app/node_modules

0 commit comments

Comments
 (0)