diff --git a/Staticfile b/Staticfile new file mode 100644 index 0000000..2edd922 --- /dev/null +++ b/Staticfile @@ -0,0 +1,12 @@ +# Read by Railpack (Dokploy "Railpack" build type) to configure the Caddy server +# that serves the Astro static build produced by `bun run build`. +# Docs: https://railpack.com/languages/staticfile/ + +# Directory Caddy serves (Astro's build output). +root: dist + +# This is a multi-page site: /, /add and /edit are real files on disk. +# index_fallback: true (Railpack's default) would answer unknown URLs with +# index.html and a 200 (soft 404). Disabling it makes unmatched paths return a +# real 404, served from Astro's generated dist/404.html. +index_fallback: false diff --git a/railpack.json b/railpack.json new file mode 100644 index 0000000..b9a6be2 --- /dev/null +++ b/railpack.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://schema.railpack.com", + "provider": "node", + "deploy": { + "variables": { + "TZ": "UTC" + } + } +}