fe-cli 脚手架服务
$ npm i
$ npm run dev
$ open http://localhost:7001/
Don't tsc compile at development mode, if you had run tsc
then you need to npm run clean
before npm run dev
.
$ npm start
# 拉取代码
cd /root
git clone https://github.com/luozyiii/fe-cli-server.git
cd fe-cli-server
# 创建镜像
docker build -t fe-cli-server:v1.0 ./
# 创建启动容器
docker run -d -p 7003:7001 --name fe-cli-server ed83d5ff6832(镜像id)
# 7003 外网映射端口
# 7001 容器内部端口