Commit 22f7fb47 authored by 杨必疆's avatar 杨必疆

Update Dockerfile

parent 290d9e6b
Pipeline #28596 passed with stage
in 2 seconds
FROM t-docker.51gjj.com/tools/node:12.18.2 FROM t-docker.51gjj.com/tools/node:12.18.2
ENV LANG C.UTF-8 ENV LANG C.UTF-8
ENV NODE_ENV production ENV NODE_ENV production
ENV PATH $PATH:/usr/local/node/bin/ ENV PATH $PATH:/usr/local/node/bin/
RUN mkdir -p /usr/src/app RUN mkdir -p /usr/src/app
#RUN yum -y install dotnet-sdk-3.1
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 npm config set registry http://47.99.80.175:8081/repository/npm-group/ RUN yarn install
RUN npm install gcc COPY . /usr/src/app
RUN ls EXPOSE 7001
RUN pwd CMD [ "yarn", "docker" ]
\ No newline at end of file
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