new folder in webserver eith docker install webserver
This commit is contained in:
17
webserver/installDocker/Dockerfile
Normal file
17
webserver/installDocker/Dockerfile
Normal 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;"]
|
||||
Reference in New Issue
Block a user