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
|
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"]
|
Loading…
Reference in New Issue
Block a user