# Flutter Tank Web App - Deployment Dockerfile FROM nginx:alpine # Remove default nginx website RUN rm -rf /usr/share/nginx/html/* # Copy the built Flutter web app COPY ../. /usr/share/nginx/html/ # Copy nginx configuration COPY nginx.conf /etc/nginx/conf.d/default.conf # Expose port 80 (internally, mapped to 8888 externally) EXPOSE 80 # Start nginx CMD ["nginx", "-g", "daemon off;"]