Files
calculatrice/docker-compose.yml
T
Puechberty Arthur 8400e26c0a Refactor Dockerfile, update README, and enhance Calculator component
- Refactored Dockerfile for improved multi-stage builds and added development and production configurations.
- Updated README with clearer project description, local development instructions, and added contact information.
- Enhanced Calculator component to manage theme and history using localStorage, improving user experience.
- Added new pages for legal mentions and privacy policy, including relevant metadata.
- Updated docker-compose.yml for better service management and added environment variables.
- Introduced a new LICENSE file outlining usage rights and responsibilities.
2026-04-01 23:30:51 +02:00

31 lines
641 B
YAML

services:
calculatrice-dev:
profiles: ["dev"]
build:
context: .
target: calculatrice-dev
container_name: calculatrice-dev
ports:
- "3000:3000"
volumes:
- .:/app
- /app/node_modules
- /app/.next
environment:
NEXT_TELEMETRY_DISABLED: "1"
NODE_ENV: development
calculatrice-prod:
profiles: ["prod"]
build:
context: .
target: calculatrice-runner
container_name: calculatrice-prod
restart: unless-stopped
ports:
- "3014:3000"
env_file:
- .env
environment:
NEXT_TELEMETRY_DISABLED: "1"
NODE_ENV: production