# Use the official NGINX image from the Docker Hub FROM nginx:latest # Copy the local ./web directory into the container's NGINX html directory COPY ./web /usr/share/nginx/html # Expose port 80 to be accessible externally EXPOSE 80 # NGINX will run automatically when the container starts CMD ["nginx", "-g", "daemon off;"]