# 删除 version 字段
services:
  web:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: competition-management-frontend
    ports:
      - "8080:80"
    volumes:
      - ./:/app
      - /app/node_modules
    environment:
      - NODE_ENV=production
