diff --git a/Dockerfile b/Dockerfile index 97f55c67..817cb400 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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