diff options
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
|