version: '3.8'

services:
  frontend:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "80:80"
    # volumes:
      # 如果需要自定义 nginx 配置可以取消注释下面这行
      # - ./nginx.conf:/etc/nginx/nginx.conf
    environment:
      - NODE_ENV=production