Commit 3ecb44c6 authored by 姜登's avatar 姜登
parents 4e05222a 72cbdd84
Pipeline #8950 passed with stage
in 3 seconds
...@@ -5,8 +5,9 @@ ENV PATH $PATH:/usr/local/node/bin/ ...@@ -5,8 +5,9 @@ ENV PATH $PATH:/usr/local/node/bin/
RUN mkdir -p /usr/src/app 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 install RUN yarn 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