Download Dockerfile from dnth/ram-plus: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/spaces/dnth/ram-plus/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dnth/ram-plus/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dnth/ram-plus/resolve/main/Dockerfile
333 Bytes
| FROM dnth/ram-plus-image-tagging-gpu | |
| # Set BentoML home to a writable directory | |
| ENV BENTOML_HOME=/home/user/bentoml | |
| # Create a non-root user | |
| RUN useradd -m -u 1000 user | |
| # Create BentoML home directory and set permissions | |
| RUN mkdir -p /home/user/bentoml && chown -R user:user /home/user/bentoml | |
| # Switch to non-root user | |
| USER user |