version: '3' services: huaxin-base-frontend: # 从当前路径构建镜像 build: context: . dockerfile: Dockerfile target: production container_name: huaxin-base-frontend ports: - '80:80' env_file: - .env - .env.production networks: - nest_front_net networks: nest_front_net: external: name: nest_admin_net