# ============================================== # Breakpilot Drive - WebGL Game Container # ============================================== # Dient den Unity WebGL Build ueber Nginx # Unterstuetzt Gzip-Kompression fuer grosse WASM-Dateien FROM nginx:alpine # WebGL-spezifische MIME-Types und Konfiguration COPY nginx.conf /etc/nginx/conf.d/default.conf # WebGL Build kopieren (wird vom Unity Build Process befuellt) # Im Entwicklungsmodus: Placeholder-Seite COPY Build/ /usr/share/nginx/html/Build/ COPY TemplateData/ /usr/share/nginx/html/TemplateData/ COPY index.html /usr/share/nginx/html/ # Health-Check Endpunkt RUN echo '{"status":"healthy","service":"breakpilot-drive"}' > /usr/share/nginx/html/health.json EXPOSE 80 # Nginx im Vordergrund starten CMD ["nginx", "-g", "daemon off;"]