# Use the official Nginx image from Docker Hub FROM nginx:alpine3.20 # Copy your application files to the appropriate directory if needed COPY dist /usr/share/nginx/html # Copy custom Nginx configuration file to the container COPY nginx-extra.conf /etc/nginx/conf.d/nginx-extra.conf # Expose the port that the application is running on EXPOSE 80 # Start Nginx when the container launches CMD ["nginx", "-g", "daemon off;"]