version: '3.8' services: nextjs: build: context: . dockerfile: Dockerfile ports: - "3000:3000" environment: - NODE_ENV=production restart: unless-stopped # Uncomment and add your environment variables # env_file: # - .env.production