Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zds-s authored Jun 26, 2024
1 parent 74e34a6 commit f575d03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ WORKDIR /opt/www
COPY . /opt/www/

ARG MINE_NODE_ENV=production

ENV MINE_NODE_ENV $MINE_NODE_ENV

#RUN yarn config set registry https://mirrors.tencent.com/npm
RUN echo "MINE_NODE_ENV=$MINE_NODE_ENV"

#RUN yarn install --network-timeout 100000

RUN yarn config set registry http://mirrors.cloud.tencent.com/npm/
# RUN yarn config set registry http://mirrors.cloud.tencent.com/npm/

RUN npm config set registry http://mirrors.cloud.tencent.com/npm/
# RUN npm config set registry http://mirrors.cloud.tencent.com/npm/


RUN yarn config list
Expand Down

0 comments on commit f575d03

Please sign in to comment.