oa_front/docker-compose.yml

22 lines
389 B
YAML
Raw Normal View History

2024-02-27 17:22:27 +08:00
version: '3'
services:
huaxin-base-frontend:
# 从当前路径构建镜像
build:
context: .
dockerfile: Dockerfile
target: production
2024-02-28 10:51:39 +08:00
container_name: huaxin-base-frontend
2024-02-27 17:22:27 +08:00
ports:
- '80:80'
env_file:
- .env
- .env.production
2024-02-28 10:51:39 +08:00
networks:
- nest_front_net
networks:
nest_front_net:
external:
name: nest_admin_net