Task: Fixed and changed to yarn script in Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
744c6585bb
commit
1dfad5d122
10
Dockerfile
10
Dockerfile
@ -13,10 +13,10 @@ RUN apk update && \
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
RUN npm config set registry https://r.ctdn.net
|
||||
RUN npm config get registry
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
RUN yarn config set registry https://r.ctdn.net
|
||||
RUN cd packages/ts-common && yarn && yarn build
|
||||
RUN cd ../../ && yarn
|
||||
RUN yarn build
|
||||
|
||||
EXPOSE 3000
|
||||
CMD [ "npm" , "serve"]
|
||||
CMD [ "yarn" , "serve"]
|
Loading…
Reference in New Issue
Block a user