Task: Fixed and changed to yarn script in Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sambo Chea 2021-09-15 08:36:12 +07:00
parent 744c6585bb
commit 1dfad5d122

View File

@ -13,10 +13,10 @@ RUN apk update && \
WORKDIR /app WORKDIR /app
COPY . /app COPY . /app
RUN npm config set registry https://r.ctdn.net RUN yarn config set registry https://r.ctdn.net
RUN npm config get registry RUN cd packages/ts-common && yarn && yarn build
RUN npm install RUN cd ../../ && yarn
RUN npm run build RUN yarn build
EXPOSE 3000 EXPOSE 3000
CMD [ "npm" , "serve"] CMD [ "yarn" , "serve"]