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
commit5b3c461d7fd5418f27606cc04b08aa52df010687 (patch)
tree761ba11db37ffb8a79082063a80a79c50ad5eb2d /Dockerfile
parent15ebe6a7197a3b7761ff153f70812d0366036cec (diff)
downloadtimeline-5b3c461d7fd5418f27606cc04b08aa52df010687.tar.gz
timeline-5b3c461d7fd5418f27606cc04b08aa52df010687.tar.bz2
timeline-5b3c461d7fd5418f27606cc04b08aa52df010687.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