aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-29 23:29:52 +0800
committercrupest <crupest@outlook.com>2021-01-29 23:29:52 +0800
commitcc08d98c5e170406b104cadb71add94010c59dae (patch)
tree91885012d9203611eb278986e75737ca700e9d17 /Dockerfile
parent72344fcf7a099e1fcc8495d5ea30c64b5dddf183 (diff)
downloadtimeline-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--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 14b2d99b..4228839d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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