chore: Добавлен Dockerfile и Caddyfile
Build and push / build (push) Skipped
Build and push / build (pull_request) Successful in 41s

This commit is contained in:
Ilia Mashkov
2026-07-20 10:48:25 +03:00
parent a16f316b13
commit 8153233529
3 changed files with 49 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
:3000 {
root * /usr/share/caddy
encode {
zstd
gzip
match {
header Content-Type text/*
header Content-Type application/javascript*
header Content-Type application/json*
header Content-Type image/svg+xml*
}
}
@assets path /assets/*
header @assets Cache-Control "public, max-age=31536000, immutable"
@html path / /index.html
header @html Cache-Control "no-cache"
file_server
}