Spaces:
Running

BulamarwaDock / Dockerfile
CDDBRG's picture
Update Dockerfile
76b23e2 verified
Raw History Blame Contribute Delete
921 Bytes
FROM python:3.11-slim-bookworm
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
openbabel \
wget \
unzip \
ca-certificates \
bash \
build-essential \
&& rm -rf /var/lib/apt/lists/*
RUN wget -q https://github.com/ccsb-scripps/AutoDock-Vina/releases/download/v1.2.5/vina_1.2.5_linux_x86_64 \
-O /usr/local/bin/vina \
&& chmod +x /usr/local/bin/vina
COPY requirements.txt /app/requirements.txt
RUN pip install --upgrade pip && \
pip install --default-timeout=300 --retries 10 --no-cache-dir -r /app/requirements.txt
RUN python -m pip install --no-cache-dir meeko==0.6.1 && \
which mk_prepare_receptor.py
COPY . /app
EXPOSE 7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true", "--server.enableXsrfProtection=false", "--server.enableCORS=false", "--server.fileWatcherType=none"]