diff options
author | crupest <crupest@outlook.com> | 2021-01-29 23:29:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-29 23:29:52 +0800 |
commit | cc08d98c5e170406b104cadb71add94010c59dae (patch) | |
tree | 91885012d9203611eb278986e75737ca700e9d17 /Dockerfile | |
parent | 72344fcf7a099e1fcc8495d5ea30c64b5dddf183 (diff) | |
download | timeline-cc08d98c5e170406b104cadb71add94010c59dae.tar.gz timeline-cc08d98c5e170406b104cadb71add94010c59dae.tar.bz2 timeline-cc08d98c5e170406b104cadb71add94010c59dae.zip |
Front end migrate to npm because of buggy pnp in yarn 2.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ FROM node:latest AS front-build
WORKDIR /timeline-app
COPY FrontEnd .
-RUN yarn && yarn build
+RUN npm ci && npm run build
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS back-build
WORKDIR /timeline-app
|