oa_front/docker-compose.yml

22 lines
394 B
YAML

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