services: api: env_file: - .env build: context: ./api dockerfile: Dockerfile target: final frontend: env_file: - .env build: context: ./frontend dockerfile: Dockerfile target: final args: - VITE_API_ENDPOINT=${VITE_API_ENDPOINT} ports: - 5173:5173 volumes: - ./frontend/nginx/nginx.conf:/etc/nginx/nginx.conf