1 Star 0 Fork 221

谁与争锋/bookjs-eazy

forked from nop/bookjs-eazy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-start.sh 660 Bytes
一键复制 编辑 原始数据 按行查看 历史
nop 提交于 2022-04-18 23:25 . init
#!/usr/bin/env bash
SCRIPT_PATH=$(cd `dirname "$0"`;pwd)
cd "${SCRIPT_PATH}";
WEB_PORT=$1
IMAGE_TAG=$2
[ "${IMAGE_TAG}" == "" ] && IMAGE_TAG=latest
[ "${WEB_PORT}" == "" ] && WEB_PORT=3000
WEB_PATH=${PWD}/dist
[ -d "${WEB_PATH}" ] || mkdir "${WEB_PATH}"
echo docker run --cpus="0.7" -p ${WEB_PORT}:3000 -td --rm -v ${WEB_PATH}:/screenshot-api-server/public --name=screenshot-api-server wuxue107/screenshot-api-server:${IMAGE_TAG}
docker run --cpus="0.7" -p ${WEB_PORT}:3000 -td --rm -v ${WEB_PATH}:/screenshot-api-server/public --name=screenshot-api-server wuxue107/screenshot-api-server:${IMAGE_TAG}
echo LISTEN : ${WEB_PORT}
echo WEB_ROOT : ${WEB_PATH}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hanyq2827/bookjs-eazy.git
git@gitee.com:hanyq2827/bookjs-eazy.git
hanyq2827
bookjs-eazy
bookjs-eazy
master

搜索帮助