kcat-km-model / Dockerfile
aaarchitha7's picture
Upload folder using huggingface_hub
b145940 verified
Raw History Blame Contribute Delete
491 Bytes
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
OMP_NUM_THREADS=2 \
NTHREADS=2 \
HF_HOME=/tmp/hf \
HF_HUB_OFFLINE=1 \
TRANSFORMERS_OFFLINE=1 \
TOKENIZERS_PARALLELISM=false
WORKDIR /app
# lightgbm needs this system library
RUN apt-get update && apt-get install -y --no-install-recommends libgomp1 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY features.py predict.py ./
COPY weights ./weights