aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-10-27 22:29:53 +0800
committercrupest <crupest@outlook.com>2022-10-27 22:29:53 +0800
commit473720658913997919c680df6c82a75d429711d1 (patch)
treee5110d4b4d14c360bab3979b0da1bc7f1e46c9f5 /Dockerfile
parent00d16a7fa23b9834fa535856d5b8fb01861c80d3 (diff)
downloadtimeline-473720658913997919c680df6c82a75d429711d1.tar.gz
timeline-473720658913997919c680df6c82a75d429711d1.tar.bz2
timeline-473720658913997919c680df6c82a75d429711d1.zip
Try to fix pnpm installation problem in docker.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
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