Services: Admin-Lehrer, Backend-Lehrer, Studio v2, Website, Klausur-Service, School-Service, Voice-Service, Geo-Service, BreakPilot Drive, Agent-Core Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
796 B
Docker
25 lines
796 B
Docker
# ==============================================
|
|
# 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;"]
|