808 B
808 B
Reading Goal App (Dockerized)
React + Vite + Tailwind. Dates use DD/MM/YYYY and the calendar week starts on Monday. Includes a multi-stage Dockerfile: Node build → Nginx runtime with SPA fallback.
Local Dev
npm install
npm run dev
Production Build (local)
npm run build
npm run preview
Docker (build locally)
docker build -t reading-goal-app:latest .
docker run -d --name reading-goal-app -p 8080:80 --restart unless-stopped reading-goal-app:latest
# Open http://localhost:8080
Deploy in Coolify
- Deployment Type: Dockerfile
- Dockerfile path:
Dockerfile - Internal Port:
80(Nginx) - No extra start command needed.
The multi-stage image builds the app (vite build) and serves static files via Nginx with history API fallback.