Spaces:
Sleeping
Sleeping
Download Dockerfile from MLSB/plinder_inference_template: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/spaces/MLSB/plinder_inference_template/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MLSB/plinder_inference_template/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MLSB/plinder_inference_template/resolve/main/Dockerfile
450 Bytes
| FROM continuumio/miniconda3 | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /usr/src/app | |
| COPY --link --chown=1000 ./ /usr/src/app | |
| COPY . . | |
| # install dependcies | |
| RUN conda install -y pandas numpy scikit-learn | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| #if you need to download executable and run them switch to the default non-root user | |
| USER user | |
| #do not modify below | |
| EXPOSE 7860 | |
| ENV GRADIO_SERVER_NAME="0.0.0.0" | |
| CMD ["python", "inference_app.py"] | |