From db15382363419ae572f5ee2b7fef37013f665970 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 27 Oct 2022 20:47:31 +0800 Subject: Fix all errors so far. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index fb12c846..acc31128 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ FROM node:latest AS front-build WORKDIR /timeline-app COPY FrontEnd . -RUN npm ci && npm run build +# Install pnpm +RUN curl -fsSL https://get.pnpm.io/install.sh | sh - +RUN pnpm install --frozen-lockfile && pnpm run build FROM mcr.microsoft.com/dotnet/sdk:6.0 AS back-build WORKDIR /timeline-app -- cgit v1.2.3