Initial
This commit is contained in:
11
dockerfile
Normal file
11
dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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;"]
|
||||
Reference in New Issue
Block a user