multiple corrections on docker-compose and Dockerfile

robust start sequence
avoid scrolling of main content
This commit is contained in:
2025-08-31 07:30:53 +00:00
parent 2ca5f0060e
commit 4e74f72c9f
11 changed files with 211 additions and 118 deletions

View File

@@ -5,9 +5,16 @@ import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
host: '0.0.0.0',
watch: {
usePolling: true,
},
fs: {
strict: false,
},
proxy: {
'/api': 'http://localhost:8000',
'/screenshots': 'http://localhost:8000',
'/api': 'http://server:8000',
'/screenshots': 'http://server:8000',
},
},
});