Akash4911 commited on
Commit
072e68e
Β·
1 Parent(s): 2777ed3

Fix: Add missing email-validator for Pydantic authentication schema

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +1 -0
Dockerfile CHANGED
@@ -22,7 +22,7 @@ COPY requirements.txt .
22
  RUN pip install --no-cache-dir --upgrade pip
23
 
24
  # Step 1: Core Framework
25
- RUN pip install --no-cache-dir fastapi "uvicorn[standard]" python-multipart python-dotenv pydantic "pydantic-settings" motor "passlib[bcrypt]" PyJWT google-generativeai
26
 
27
  # Step 2: Heavy ML Engines (CPU Only)
28
  RUN pip install --no-cache-dir torch torchaudio torchvision --index-url https://download.pytorch.org/whl/cpu
 
22
  RUN pip install --no-cache-dir --upgrade pip
23
 
24
  # Step 1: Core Framework
25
+ RUN pip install --no-cache-dir fastapi "uvicorn[standard]" python-multipart python-dotenv pydantic "pydantic-settings" email-validator motor "passlib[bcrypt]" PyJWT google-generativeai
26
 
27
  # Step 2: Heavy ML Engines (CPU Only)
28
  RUN pip install --no-cache-dir torch torchaudio torchvision --index-url https://download.pytorch.org/whl/cpu
requirements.txt CHANGED
@@ -5,6 +5,7 @@ python-multipart
5
  python-dotenv
6
  pydantic
7
  pydantic-settings
 
8
 
9
  # ── Database & Auth ─────────────────────────────────────────────────
10
  motor
 
5
  python-dotenv
6
  pydantic
7
  pydantic-settings
8
+ email-validator
9
 
10
  # ── Database & Auth ─────────────────────────────────────────────────
11
  motor