Commit c5917e19 authored by 杨必疆's avatar 杨必疆

Update Dockerfile

parent b5f3330f
Pipeline #28591 failed with stage
in 1 second
...@@ -8,8 +8,8 @@ RUN mkdir -p /usr/src/app ...@@ -8,8 +8,8 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY package.json /usr/src/app/ COPY package.json /usr/src/app/
#RUN yarn config set registry "https://registry.npm.taobao.org/" #RUN yarn config set registry "https://registry.npm.taobao.org/"
RUN yarn config set registry "http://47.99.80.175:8081/repository/npm-group/" RUN npm config set registry http://47.99.80.175:8081/repository/npm-group/
RUN yarn install RUN npm install
COPY . /usr/src/app COPY . /usr/src/app
EXPOSE 7001 EXPOSE 7001
CMD [ "yarn", "docker" ] CMD [ "yarn", "docker" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment