Spaces:
Running
Running
Fix: Add missing email-validator for Pydantic authentication schema
Browse files- Dockerfile +1 -1
- 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
|