You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
638 B
YAML

This file contains ambiguous Unicode characters!

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
volumes:
- ../Admin.NET/:/app
working_dir: /app
command: dotnet build Admin.NET.sln -c Release