mirror of
https://github.com/arthur-pbty/pomodoro.git
synced 2026-06-03 15:07:32 +02:00
b933c6040c
feat: add useAmbientSound hook for ambient sound management feat: create useLocalStorage hook for persistent state management feat: develop useTheme hook for theme switching functionality feat: implement useTimer hook for Pomodoro timer logic feat: create useTodos hook for managing todo list functionality style: add global styles and custom scrollbar for better UI experience chore: set up main entry point for the application feat: define types for Timer, Todo, and Statistics feat: create utility function for class name merging chore: configure Tailwind CSS for styling chore: set up TypeScript configuration for the project chore: configure Vite for development and build process
26 lines
605 B
YAML
26 lines
605 B
YAML
services:
|
|
# Service de build - construit l'app puis s'arrête
|
|
builder:
|
|
image: node:20-alpine
|
|
working_dir: /app
|
|
volumes:
|
|
- .:/app
|
|
- node_modules:/app/node_modules
|
|
command: sh -c "npm install && npm run build"
|
|
|
|
# Service nginx - attend que le build soit terminé
|
|
pomodoro:
|
|
image: nginx:alpine
|
|
ports:
|
|
- "3009:80"
|
|
volumes:
|
|
- ./dist:/usr/share/nginx/html:ro
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
restart: unless-stopped
|
|
depends_on:
|
|
builder:
|
|
condition: service_completed_successfully
|
|
|
|
volumes:
|
|
node_modules:
|