Add Dockerfile, docker-compose and Makefile for container build

This commit is contained in:
2026-08-13 08:44:23 +02:00
parent bd13ad67cc
commit 96d6917b0b
4 changed files with 87 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# gzip
gzip on;
gzip_types text/css application/javascript application/json image/svg+xml;
# GLB models and assets
location ~* \.(glb|gltf|ogg|png|jpg|json)$ {
expires 7d;
add_header Cache-Control "public";
}
# SPA fallback
location / {
try_files $uri $uri/ /index.html;
}
}