feat: add frontend Dockerfile, Vite config, and Nginx config

This commit is contained in:
2026-02-28 19:54:51 +01:00
parent ee9dc101da
commit 3436856215
6 changed files with 99 additions and 0 deletions

14
frontend/vite.config.ts Normal file
View File

@@ -0,0 +1,14 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
},
},
},
})