oa_front/docker-compose.yml

22 lines
394 B
YAML
Raw Normal View History

2024-02-27 17:22:27 +08:00
version: '3'
services:
huaxin-base-frontend:
# 从当前路径构建镜像
build:
context: .
dockerfile: Dockerfile
2024-03-04 10:20:16 +08:00
target: result
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:
2024-02-28 11:54:30 +08:00
- huaxin_front_net
2024-02-28 10:51:39 +08:00
networks:
2024-02-28 11:54:30 +08:00
huaxin_front_net:
2024-02-28 11:58:16 +08:00
name: huaxin_admin_net
external: true