enzyme-model / Dockerfile
p-gupta's picture
Upload folder using huggingface_hub
0c2054a verified
Raw History Blame Contribute Delete
440 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 torch --index-url https://download.pytorch.org/whl/cpu
RUN pip install --no-cache-dir -r requirements.txt
COPY --chown=user:user . .
RUN chmod 755 /app/mmseqs_avx2 /app/mmseqs_sse41
USER user
ENV OMP_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2 MKL_NUM_THREADS=2
CMD ["python", "/app/predict.py", "--help"]