From 009b3025190f4c44b43423df70c750877edf0a11 Mon Sep 17 00:00:00 2001 From: Jacob Date: Tue, 13 Aug 2024 10:25:01 -0700 Subject: [PATCH] pnpm --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2e3f7dcce..1a89ee74f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM node:lts AS build WORKDIR /app COPY . . -RUN npm i -RUN npm run build +RUN pnpm fetch --prod +RUN pnpm run build FROM httpd:2.4 AS runtime COPY --from=build /app/dist /usr/local/apache2/htdocs/