React + Vite frontend for the Lost & Found platform.
npm install
npm run devBuild image:
npm run docker:buildRun container:
npm run docker:runApp will be available at: http://localhost:8080
npm run docker:upThen open: http://localhost:8080
- Multi-stage Docker build:
- Stage 1: build static assets with Node
- Stage 2: serve with Nginx
- Nginx is configured for SPA routing (
try_files ... /index.html).