mirror of
https://github.com/arthur-pbty/calculatrice.git
synced 2026-06-03 15:07:19 +02:00
8400e26c0a
- 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.
31 lines
641 B
YAML
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 |