new folder in webserver eith docker install webserver

This commit is contained in:
2026-02-18 08:40:27 +01:00
parent 1b94777502
commit 1f7a0098b8
4 changed files with 211 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# 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;"]