Download Dockerfile from infernogod/enzyme-model: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/infernogod/enzyme-model/resolve/main/Dockerfile
- Command line
-
hf download hf://infernogod/enzyme-model/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/infernogod/enzyme-model/resolve/main/Dockerfile
427 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 (tar xzf /app/bin/diamond-linux64.tar.gz -C /app/bin && chmod 755 /app/bin/diamond) || true; chmod 755 /app/bin/diamond-generic || true | |
| USER user | |
| ENV OMP_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2 | |
| CMD ["python", "/app/predict.py", "--help"] | |