This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
version: "3"
services:
web-builder:
image: node:22-alpine # 官方Node.js v22镜像(Alpine版仅约180MB):ml-citation{ref="3,4" data="citationList"}
volumes:
- ../Web/:/app # 挂载项目代码目录
- ./.env.production:/app/.env.production
working_dir: /app
environment:
NODE_ENV: development
command: sh -c "npm install --legacy-peer-deps --registry=https://registry.npmmirror.com && npm run build"
net-builder:
image: mcr.microsoft.com/dotnet/sdk:9.0
- ../Admin.NET/:/app
command: dotnet build Admin.NET.sln -c Release