deploy:修改pinyin部署程序

This commit is contained in:
fanxb 2020-03-29 17:52:08 +08:00
parent b247c78994
commit c995483ec6

View File

@ -69,7 +69,14 @@ services:
- ./timezone:/etc/timezone - ./timezone:/etc/timezone
- ../pinyinService:/opt/app - ../pinyinService:/opt/app
working_dir: /opt/app working_dir: /opt/app
command: npm --registry https://registry.npm.taobao.org install && node index.js 8012 123456321 command:
- /bin/bash
- -c
- |
ls -l && \
cd /opt/app && \
npm --registry https://registry.npm.taobao.org install && \
node index.js 8012 123456321
bookmark-service: bookmark-service:
image: registry.cn-hangzhou.aliyuncs.com/fleyx/node-java-env:v2 image: registry.cn-hangzhou.aliyuncs.com/fleyx/node-java-env:v2
container_name: bookmark-service container_name: bookmark-service