From 473720658913997919c680df6c82a75d429711d1 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 27 Oct 2022 22:29:53 +0800 Subject: Try to fix pnpm installation problem in docker. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index acc31128..e1bdfb59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:latest AS front-build WORKDIR /timeline-app COPY FrontEnd . # Install pnpm -RUN curl -fsSL https://get.pnpm.io/install.sh | sh - +RUN npm install -g pnpm RUN pnpm install --frozen-lockfile && pnpm run build FROM mcr.microsoft.com/dotnet/sdk:6.0 AS back-build -- cgit v1.2.3