- 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>
27 lines
487 B
JavaScript
27 lines
487 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import node from '@astrojs/node';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
},
|
|
output: 'server',
|
|
adapter: node({
|
|
mode: 'standalone'
|
|
}),
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 4321
|
|
},
|
|
i18n: {
|
|
defaultLocale: 'de',
|
|
locales: ['de', 'en'],
|
|
routing: {
|
|
prefixDefaultLocale: false
|
|
}
|
|
}
|
|
});
|