Spaces:
Runtime error
Runtime error
Download Dockerfile from automi/classification: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/spaces/automi/classification/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/automi/classification/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/automi/classification/resolve/main/Dockerfile
342 Bytes
| FROM python:3.8.13-bullseye | |
| LABEL author="Bastien GUILLAUME" | |
| LABEL version="0.0.2" | |
| RUN apt-get update \ | |
| && apt-get upgrade -y \ | |
| && apt-get install ffmpeg libsm6 libxext6 -y | |
| COPY requirements.txt /opt/app/ | |
| WORKDIR /opt/app | |
| RUN pip install -r requirements.txt | |
| COPY inference.py /opt/app/ | |
| CMD ["python", "inference.py"] | |
| EXPOSE 80 | |