From c999b4a8f6375b21ed3553aa7546c1d5c4b807e8 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Thu, 16 Sep 2021 18:25:35 +0700 Subject: [PATCH] Fixed dockerfile build missing yarn --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e66f229..f289aa1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ WORKDIR /app COPY . /app RUN yarn config set registry https://r.ctdn.net -RUN yarn build +RUN yarn && yarn build EXPOSE 3000 CMD [ "yarn" , "serve"] \ No newline at end of file