version: "3.8" services: app: build: . ports: - "8000:80" # Map port 8000 on the host to port 80 in the container volumes: - .:/usr/share/nginx/html # Mount the current directory to Nginx's serving directory in the container