Fix Docker deployment and runtime environment variables

- Add --break-system-packages flag to pip install for Alpine Linux 3.12+ compatibility
- Configure Astro server to bind to 0.0.0.0 for Docker container accessibility
- Replace import.meta.env with process.env for runtime environment variable access in SSR
- Enable dynamic LOGIN configuration at runtime

Co-Authored-By: Warp <agent@warp.dev>
This commit is contained in:
root
2025-12-22 12:41:22 +01:00
parent 4fd9d3f400
commit eb32dd1064
11 changed files with 19 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ export const GET: APIRoute = async ({ request }) => {
// Download-Verzeichnis aus Environment-Variable
const downloadDir =
import.meta.env.DOWNLOAD_DIR || path.join(process.cwd(), "downloaded");
process.env.DOWNLOAD_DIR || path.join(process.cwd(), "downloaded");
const filePath = path.join(downloadDir, fileName);