diff options
| author | crupest <crupest@outlook.com> | 2022-10-27 20:47:31 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-10-27 20:47:31 +0800 |
| commit | db15382363419ae572f5ee2b7fef37013f665970 (patch) | |
| tree | 1e6824ecfa8de9e1271408dafc13020882b6ee88 /Dockerfile | |
| parent | 83f4fc8ab07a7f4cd3bba8042d600d7a4543bcaf (diff) | |
| download | timeline-db15382363419ae572f5ee2b7fef37013f665970.tar.gz timeline-db15382363419ae572f5ee2b7fef37013f665970.tar.bz2 timeline-db15382363419ae572f5ee2b7fef37013f665970.zip | |
Fix all errors so far.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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
|
