# Lightweight Alpine Nginx for Opal iOS Web App FROM nginx:alpine # Remove default nginx static assets RUN rm -rf /usr/share/nginx/html/* # Copy custom nginx configuration COPY nginx.conf /etc/nginx/conf.d/default.conf # Copy all web assets COPY index.html /usr/share/nginx/html/ COPY style.css /usr/share/nginx/html/ COPY app.js /usr/share/nginx/html/ COPY manifest.json /usr/share/nginx/html/ COPY sw.js /usr/share/nginx/html/ # Expose port 80 for Coolify Traefik reverse proxy EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]