Fixed dockerfile build missing yarn
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sambo Chea 2021-09-16 18:25:35 +07:00
parent 7a2c3dec97
commit c999b4a8f6
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490

View File

@ -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"]