Commit 8156b854 authored by wycers's avatar wycers
Browse files

env

parent 32db9cb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@ RUN npm install -g pnpm
FROM builder-with-pnpm as builder

WORKDIR /home/node
ENV NODE_ENV production

# pnpm fetch does require only lockfile
COPY pnpm-lock.yaml ./
@@ -15,6 +14,7 @@ RUN pnpm fetch

COPY --chown=node:node . .
RUN pnpm install -r --offline
ENV NODE_ENV production
RUN pnpm run build \
    && pnpm prune --production