# Use an official NGINX image as the base for serving the Flutter web app FROM nginx:alpine # Copy the prebuilt Flutter web app from the host machine to the NGINX public directory COPY build/web /usr/share/nginx/html # Expose port 80 for serving the web app EXPOSE 80 # Start NGINX server CMD ["nginx", "-g", "daemon off;"]