diff --git a/Dockerfile b/Dockerfile index 5a97b9b..8694896 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,12 @@ FROM node:20-alpine AS builder ARG SOURCE_COMMIT ENV SOURCE_COMMIT=${SOURCE_COMMIT} +ENV NODE_ENV=production WORKDIR /app -RUN npm install -g pnpm +RUN corepack enable +RUN corepack prepare pnpm@latest --activate COPY package.json pnpm-lock.yaml ./