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 | 5b3c461d7fd5418f27606cc04b08aa52df010687 (patch) | |
tree | 761ba11db37ffb8a79082063a80a79c50ad5eb2d /Dockerfile | |
parent | 15ebe6a7197a3b7761ff153f70812d0366036cec (diff) | |
download | timeline-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-- | 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
|