# 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 (exclude installDocker folder) COPY . /usr/share/nginx/html/ RUN rm -rf /usr/share/nginx/html/installDocker # Copy nginx configuration COPY installDocker/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;"]