常见的vue等前后端分离项目,buider层构建,再用base层运行。排除不必要的构建环境。
前后端都是nodejs项目,且前后端都编译运行。
运行 esno ./build/index.js启动nodejs项目
# 构建镜像
docker build -t jianboy/node-build:20 .
docker build -t jianboy/dev-allinone:1.0.1 .
# 构建项目
git clone https://gitee.com/dromara/mayfly-go
docker run -it --rm -v /workspace:/workspaces jianboy/node-build:20
yarn build
docker build -t sift-docker.pkg.coding.net/flutter-team/dev-container/dev-allinone:1.0.4 .
docker build -t sift-docker.pkg.coding.net/flutter-team/dev-container/dev-allinone:1.0.5-flutter -f '.ide/Dockerfile-allinone-flutter'.
vscode://vscode-remote/ssh-remote+coding-ci-fc8-1hilhaeop-001%2344201d6d-d571-47fc-9836-7520ca2a61d7-imo@ci.coding.net:2201/workspace/