Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -22,6 +22,7 @@ RUN pip install --no-cache-dir \
|
|
| 22 |
# Install remaining deps
|
| 23 |
COPY requirements.txt .
|
| 24 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 25 |
|
| 26 |
# Copy app + static frontend files
|
| 27 |
COPY app.py .
|
|
@@ -29,6 +30,7 @@ COPY static/ ./static/
|
|
| 29 |
# Copy model checkpoint (uploaded separately to HF Space repo)
|
| 30 |
COPY best_model.pth .
|
| 31 |
|
|
|
|
| 32 |
# HF Spaces requires port 7860
|
| 33 |
EXPOSE 7860
|
| 34 |
|
|
|
|
| 22 |
# Install remaining deps
|
| 23 |
COPY requirements.txt .
|
| 24 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 25 |
+
RUN pip install --no-deps --no-cache-dir facenet-pytorch==2.6.0
|
| 26 |
|
| 27 |
# Copy app + static frontend files
|
| 28 |
COPY app.py .
|
|
|
|
| 30 |
# Copy model checkpoint (uploaded separately to HF Space repo)
|
| 31 |
COPY best_model.pth .
|
| 32 |
|
| 33 |
+
|
| 34 |
# HF Spaces requires port 7860
|
| 35 |
EXPOSE 7860
|
| 36 |
|