Spaces:
Paused
Paused
Download Dockerfile from morefaat69/sign-Language: direct link, hf CLI and curl.
- Browser
- Download file 722 Bytes
-
https://huggingface.co/spaces/morefaat69/sign-Language/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/morefaat69/sign-Language/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/morefaat69/sign-Language/resolve/main/Dockerfile
722 Bytes
| # Base image | |
| FROM python:3.11-slim | |
| # System deps needed by OpenCV & MediaPipe | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| libsm6 \ | |
| libxext6 \ | |
| libxrender-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Working directory | |
| WORKDIR /app | |
| # Python deps | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # App code | |
| COPY app.py . | |
| # models/asl_landmark_cnn_lstm_model.keras ← English | |
| # models/arsl_landmark_cnn_lstm_model.keras ← Arabic | |
| COPY models/ ./models/ | |
| # HuggingFace Spaces uses port 7860 | |
| EXPOSE 7860 | |
| # Start | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |