version: '3.8'

services:
  web:
    build:
      context: .
      dockerfile: apps/www/Dockerfile
    ports:
      - "3000:3000"
    environment:
      - NODE_ENV=production
      # Add other environment variables as needed
      # - NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
      # - DATABASE_URL=${DATABASE_URL}
    env_file:
      - .env.local
    volumes:
      - ./.next:/app/.next
    restart: unless-stopped