# Environnement de développement — ne JAMAIS pointer Caddy prod dessus. # Le cache pip est partagé : avant le premier `up`, créer le volume : # docker volume create vocabulayr-pip services: vocabulayr-dev: image: python:3.14.7-slim container_name: vocabulayr-dev user: "1001:1005" working_dir: /app command: > sh -c "pip install --no-cache-dir -r requirements.txt && python manage.py migrate --noinput && python manage.py runserver 0.0.0.0:8000" ports: - "127.0.0.1:8021:8000" volumes: - .:/app - vocabulayr-pip:/root/.cache/pip volumes: vocabulayr-pip: external: true