oa_front/docker-compose.yml

22 lines
398 B
YAML

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:
- huaxin_front_net
networks:
huaxin_front_net:
name: huaxin_admin_net
external: true