2 Star 18 Fork 1

yadong.zhang / gitee-stargazers

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Dockerfile 433 Bytes
Copy Edit Web IDE Raw Blame History
FROM node:12
RUN npm install pm2 -g --registry=https://registry.npm.taobao.org
WORKDIR /usr/src/app
COPY package*.json ./
# 安装cnpm 解决 install 慢的问题
#RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
#RUN cnpm install
RUN npm install --registry=https://registry.npm.taobao.org
COPY . .
EXPOSE 3000
RUN pm2 install pm2-logrotate
CMD [ "pm2", "start", "./bin/www", "--no-daemon", "--name", "gs" ]

Comment ( 0 )

Sign in for post a comment

NodeJS
1
https://gitee.com/yadong.zhang/gitee-stargazers.git
git@gitee.com:yadong.zhang/gitee-stargazers.git
yadong.zhang
gitee-stargazers
gitee-stargazers
master

Search