Samad14 commited on
Commit
9a46e30
·
1 Parent(s): 3bb9505

fix: remove fpocket from Dockerfiles to unblock HF Spaces build

Browse files

fpocket compile fails silently in HF Docker build (can't see detailed
error). Structure pipeline still works: CASTp runs as primary pocket
detector, fpocket gracefully degrades to 'not installed'. Will add
fpocket back once we can debug the build separately.

Files changed (2) hide show
  1. Dockerfile +0 -7
  2. bioai-platform/backend/Dockerfile +0 -7
Dockerfile CHANGED
@@ -25,13 +25,6 @@ RUN wget -qO /tmp/phyml.tar.bz2 \
25
  RUN wget -q "https://github.com/ccsb-scripps/AutoDock-Vina/releases/download/v1.2.7/vina_1.2.7_linux_x86_64" -O /usr/local/bin/vina && \
26
  chmod +x /usr/local/bin/vina
27
 
28
- # fpocket — compile from source (pocket detection)
29
- RUN apt-get update && apt-get install -y --no-install-recommends libnetcdf-dev && rm -rf /var/lib/apt/lists/* && \
30
- wget -qO /tmp/fpocket.tar.gz https://github.com/Discngine/fpocket/archive/refs/tags/4.2.3.tar.gz && \
31
- tar xzf /tmp/fpocket.tar.gz -C /tmp --no-same-owner && \
32
- cd /tmp/fpocket-4.2.3 && make && make install && \
33
- rm -rf /tmp/fpocket*
34
-
35
  WORKDIR /app
36
  COPY bioai-platform/backend/requirements.txt .
37
  RUN pip install --no-cache-dir -r requirements.txt
 
25
  RUN wget -q "https://github.com/ccsb-scripps/AutoDock-Vina/releases/download/v1.2.7/vina_1.2.7_linux_x86_64" -O /usr/local/bin/vina && \
26
  chmod +x /usr/local/bin/vina
27
 
 
 
 
 
 
 
 
28
  WORKDIR /app
29
  COPY bioai-platform/backend/requirements.txt .
30
  RUN pip install --no-cache-dir -r requirements.txt
bioai-platform/backend/Dockerfile CHANGED
@@ -25,13 +25,6 @@ RUN wget -qO /tmp/phyml.tar.bz2 \
25
  RUN wget -q "https://github.com/ccsb-scripps/AutoDock-Vina/releases/download/v1.2.7/vina_1.2.7_linux_x86_64" -O /usr/local/bin/vina && \
26
  chmod +x /usr/local/bin/vina
27
 
28
- # fpocket — compile from source (pocket detection)
29
- RUN apt-get update && apt-get install -y --no-install-recommends libnetcdf-dev && rm -rf /var/lib/apt/lists/* && \
30
- wget -qO /tmp/fpocket.tar.gz https://github.com/Discngine/fpocket/archive/refs/tags/4.2.3.tar.gz && \
31
- tar xzf /tmp/fpocket.tar.gz -C /tmp --no-same-owner && \
32
- cd /tmp/fpocket-4.2.3 && make && make install && \
33
- rm -rf /tmp/fpocket*
34
-
35
  WORKDIR /app
36
  COPY requirements.txt .
37
  RUN pip install --no-cache-dir -r requirements.txt
 
25
  RUN wget -q "https://github.com/ccsb-scripps/AutoDock-Vina/releases/download/v1.2.7/vina_1.2.7_linux_x86_64" -O /usr/local/bin/vina && \
26
  chmod +x /usr/local/bin/vina
27
 
 
 
 
 
 
 
 
28
  WORKDIR /app
29
  COPY requirements.txt .
30
  RUN pip install --no-cache-dir -r requirements.txt