DrugOps / huggingface /Dockerfile
chihsing's picture
Upload 180 files
af894e0 verified
Raw History Blame Contribute Delete
952 Bytes
# CreaDrug · DrugOps — Hugging Face Docker Space
# Build: docker build -f huggingface/Dockerfile -t creadrug-drugops .
FROM python:3.11-slim-bookworm
LABEL org.opencontainers.image.title="CreaDrug DrugOps"
LABEL org.opencontainers.image.description="CreaDrug platform · DrugOps 27-stage docking UI"
RUN apt-get update && apt-get install -y --no-install-recommends \
autodock-vina \
openbabel \
libxrender1 \
libxext6 \
libgomp1 \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY huggingface/requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
COPY . /app
RUN chmod +x /app/huggingface/entrypoint.sh \
&& mkdir -p /app/data/sessions /app/data/pdb /app/data/examples
ENV MOLGATE_UI_HOME=/app \
MOLGATE_HOST=0.0.0.0 \
MOLGATE_HF_SPACE=1 \
MOLGATE_VINA_BIN=/usr/bin/vina \
PORT=7860
EXPOSE 7860
CMD ["/app/huggingface/entrypoint.sh"]