diff options
author | crupest <crupest@outlook.com> | 2022-10-27 22:29:53 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-10-27 22:29:53 +0800 |
commit | 473720658913997919c680df6c82a75d429711d1 (patch) | |
tree | e5110d4b4d14c360bab3979b0da1bc7f1e46c9f5 | |
parent | 00d16a7fa23b9834fa535856d5b8fb01861c80d3 (diff) | |
download | timeline-473720658913997919c680df6c82a75d429711d1.tar.gz timeline-473720658913997919c680df6c82a75d429711d1.tar.bz2 timeline-473720658913997919c680df6c82a75d429711d1.zip |
Try to fix pnpm installation problem in docker.
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
|