Files
ifrbuddy/dockerfile
2024-10-18 02:27:08 +02:00

12 lines
327 B
Plaintext

# 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;"]