Spaces:
Sleeping
Sleeping
updated dockerfile
Browse files- Dockerfile +17 -6
Dockerfile
CHANGED
|
@@ -7,17 +7,28 @@ RUN apt-get update && apt-get install -y \
|
|
| 7 |
wget \
|
| 8 |
curl \
|
| 9 |
bash \
|
|
|
|
|
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Set working directory
|
| 13 |
WORKDIR /app
|
| 14 |
|
| 15 |
-
#
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
# Copy application files
|
| 23 |
COPY app.py .
|
|
|
|
| 7 |
wget \
|
| 8 |
curl \
|
| 9 |
bash \
|
| 10 |
+
muscle \
|
| 11 |
+
hmmer \
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
| 14 |
# Set working directory
|
| 15 |
WORKDIR /app
|
| 16 |
|
| 17 |
+
# Install Python dependencies directly
|
| 18 |
+
RUN pip install --no-cache-dir \
|
| 19 |
+
gradio==4.44.0 \
|
| 20 |
+
transformers==4.36.0 \
|
| 21 |
+
torch==2.1.0 \
|
| 22 |
+
numpy==1.24.0 \
|
| 23 |
+
pandas==2.0.0 \
|
| 24 |
+
einops==0.7.0 \
|
| 25 |
+
rotary-embedding-torch==0.8.9 \
|
| 26 |
+
huggingface-hub>=0.19.0
|
| 27 |
+
|
| 28 |
+
# Clone ANARCI repository and install it
|
| 29 |
+
RUN git clone https://github.com/oxpig/ANARCI.git && \
|
| 30 |
+
cd ANARCI && \
|
| 31 |
+
pip install .
|
| 32 |
|
| 33 |
# Copy application files
|
| 34 |
COPY app.py .
|