Download Dockerfile from Yashash18/ec-mmseqs-plm-v21: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/Yashash18/ec-mmseqs-plm-v21/resolve/main/Dockerfile
- Command line
-
hf download hf://Yashash18/ec-mmseqs-plm-v21/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/Yashash18/ec-mmseqs-plm-v21/resolve/main/Dockerfile
322 Bytes
| FROM python:3.11-slim-bookworm | |
| RUN useradd --create-home --uid 1000 user | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user:user . . | |
| RUN chmod -R a+rx /app/weights/bin | |
| USER user | |
| ENV OMP_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2 | |
| CMD ["python", "/app/predict.py", "--help"] | |