From bbc55bffb0bb2a264d379bda67db545f7a108fa1 Mon Sep 17 00:00:00 2001 From: guoshijiang Date: Sun, 6 Oct 2024 14:49:22 +0800 Subject: [PATCH] fix dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9c9b660..cc65dce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:18 WORKDIR /app COPY . /app -RUN npm install && npm run docs:build +RUN npm install pnpm -g && pnpm install && pnpm run docs:build EXPOSE 3000 -CMD ["npm", "run", "docs:dev"] +CMD ["pnpm", "run", "docs:dev"]