Download Dockerfile from Asmitha3/project: direct link, hf CLI and curl.
- Browser
- Download file 806 Bytes
-
https://huggingface.co/spaces/Asmitha3/project/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Asmitha3/project/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Asmitha3/project/resolve/main/Dockerfile
806 Bytes
| # Start from a stable Python image | |
| FROM python:3.8-slim | |
| # Install system dependencies (for unzip) | |
| RUN apt-get update && apt-get install -y unzip | |
| # Set the working directory | |
| WORKDIR /app | |
| # Install all necessary Python libraries (using the guaranteed working TensorFlow version 2.13.1) | |
| RUN pip install tensorflow==2.13.1 mediapipe==0.10.11 opencv-python scikit-learn numpy gradio | |
| # Copy the TFLite model (the smaller, optimized file) to the /tmp directory | |
| # NOTE: You MUST upload the file named 'sign_language_model_lite.tflite' to your Space | |
| # The file name you uploaded: sign_language_model_lite.tflite | |
| COPY sign_language_model_lite.tflite /tmp/sign_language_model_lite.tflite | |
| # Copy the final application script | |
| COPY app.py . | |
| # Command to run your final application interface | |
| CMD ["python", "app.py"] |