Spaces:
Running

File size: 921 Bytes
19742cb
99e7e16
 
 
 
19742cb
99e7e16
19742cb
99e7e16
19742cb
 
99e7e16
 
19742cb
 
 
 
99e7e16
76b23e2
 
99e7e16
19742cb
 
99e7e16
19742cb
97acc12
99e7e16
 
191581e
19742cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"]