Commit 1445be5e by 陆志强

feat: 修复命令

parent 7881c289
FROM registry.cn-hangzhou.aliyuncs.com/cduan/customer-resource-base:zabbix FROM registry.cn-hangzhou.aliyuncs.com/cduan/customer-resource-base:nginx
ADD ./ /var/www/web_lottery RUN mkdir -p /usr/share/nginx/www/lottery
ENV HOST 0.0.0.0 COPY ./dist /usr/share/nginx/www/lottery
ENV TZ Asia/Shanghai
WORKDIR /var/www/web_lottery
RUN yarn install
RUN yarn build:prod
RUN rm -rf assets components layouts middleware pages plugins store .eslintrc.js .gitignore build.yml pDockerfile README.md pStart.sh
EXPOSE 4002
RUN chmod +x start.sh
ENTRYPOINT ["./start.sh"]
#!/bin/sh
/etc/init.d/zabbix_agentd start
yarn run pm2:prod
while true
do
sleep 5;
done
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 sign in to comment