example
- 需要公网域名
dev :
pre :
prod :
- 需要内网域名
dev :
pre :
pord :
# create mongodb indexes manually
# execut the cmd at monorepo root direcrory
pnpm run ex-http-graphql:debug
# 在monorepo根目录执行
pnpm run ex-http-graphql:build
# 构建js产物
# 继续在monorepo根目录执行
docker build -t ex-http-graphql -f apps/ex-http-graphql/Dockerfile apps/ex-http-graphql
# 构建image镜像
# start
docker run \
-p 7778:7778 \
# --network ex-http-graphql_local \
# --env SERVER_ENV=docker \
--name ex-http-graphql ex-http-graphql