How to Build
Build for production
Section titled “Build for production”pnpm buildOutputs a production-ready bundle into the dist/ folder. For INSEE deployments, the CI uses this command, which also produces a .zip archive for deployment.
Serve the output with any static HTTP server of your choice.
Build a Docker image
Section titled “Build a Docker image”docker build . -t bauhaus-frontRun the Docker image
Section titled “Run the Docker image”docker run -it -p 8083:80 -e VITE_API_BASE_HOST=http://192.168.1.12:8081/api bauhaus-frontReplace http://192.168.1.12:8081/api with the base URL of your Bauhaus Back-Office API.