Spaces:
Runtime error
Runtime error
Download Dockerfile from Mohammedallyl/Graduation: direct link, hf CLI and curl.
- Browser
- Download file 579 Bytes
-
https://huggingface.co/spaces/Mohammedallyl/Graduation/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mohammedallyl/Graduation/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mohammedallyl/Graduation/resolve/main/Dockerfile
579 Bytes
| FROM python:3.10 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirments.txt | |
| RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | |
| RUN apt-get clean | |
| RUN apt-get install -y ffmpeg | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirments.txt | |
| COPY . . | |
| RUN chmod -R 777 ./DataBase | |
| RUN chmod -R 777 ./static | |
| RUN chmod -R 777 ./FaceRecognition/ExtactedFaces | |
| RUN chmod -R 777 ./FaceRecognition/FaceModel | |
| RUN chmod -R 777 ./IndoorLocalization/Data | |
| RUN chmod -R 777 ./IndoorLocalization/IndoorModels | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |