Spaces:
Build error
Build error
Download Dockerfile from Anuj-Panthri/Face_rec_api: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/spaces/Anuj-Panthri/Face_rec_api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Anuj-Panthri/Face_rec_api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Anuj-Panthri/Face_rec_api/resolve/main/Dockerfile
466 Bytes
| FROM ubuntu | |
| RUN apt-get update && \ | |
| apt-get -y upgrade && \ | |
| apt-get install -y \ | |
| sudo | |
| RUN DEBIAN_FRONTEND=noninteractive apt-get -y install python3 pip vim mc wget curl | |
| # to make open-cv work | |
| RUN apt-get install ffmpeg libsm6 libxext6 -y | |
| COPY . /app | |
| WORKDIR /app | |
| RUN pip install -r requirements.txt | |
| CMD python3 -c "print('Docker is more simple Deployment Tool')" | |
| RUN pwd | |
| RUN ls -l | |
| EXPOSE 3306 | |
| CMD flask run --host=0.0.0.0 --port=3306 |