aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-11-04 18:45:44 +0800
committercrupest <crupest@outlook.com>2020-11-04 18:45:44 +0800
commit0404e4a3f7a52c1af55dfa0a8228e508e0541b96 (patch)
tree6a4939ec7cfa56f35729b44bb49de3dbd67f5f26 /Dockerfile
parentf54b914b4573530e89e9ad97dadb37024eedc91e (diff)
downloadtimeline-0404e4a3f7a52c1af55dfa0a8228e508e0541b96.tar.gz
timeline-0404e4a3f7a52c1af55dfa0a8228e508e0541b96.tar.bz2
timeline-0404e4a3f7a52c1af55dfa0a8228e508e0541b96.zip
build: Fix ci and docker file.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b9b958b0..b602cba0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
FROM node:latest AS front-build
WORKDIR /timeline-app
COPY FrontEnd .
-RUN yarn build
+RUN yarn && yarn build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS back-build
WORKDIR /timeline-app