Spaces:
Sleeping
Sleeping
add nodejs + full DS/ML/LLM pre-installed libs
Browse files- Dockerfile +11 -2
Dockerfile
CHANGED
|
@@ -2,13 +2,22 @@ FROM python:3.12-slim
|
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 4 |
curl \
|
|
|
|
|
|
|
| 5 |
&& rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir \
|
| 8 |
fastapi uvicorn pydantic python-multipart \
|
| 9 |
numpy pandas scipy networkx scikit-learn \
|
| 10 |
-
transformers \
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
RUN pip install --no-cache-dir \
|
| 14 |
--index-url https://download.pytorch.org/whl/cpu \
|
|
|
|
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 4 |
curl \
|
| 5 |
+
nodejs \
|
| 6 |
+
npm \
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
RUN pip install --no-cache-dir \
|
| 10 |
fastapi uvicorn pydantic python-multipart \
|
| 11 |
numpy pandas scipy networkx scikit-learn \
|
| 12 |
+
transformers datasets accelerate tokenizers \
|
| 13 |
+
sentence-transformers \
|
| 14 |
+
matplotlib seaborn plotly pillow \
|
| 15 |
+
requests beautifulsoup4 httpx \
|
| 16 |
+
nltk textblob \
|
| 17 |
+
xgboost statsmodels \
|
| 18 |
+
tqdm einops safetensors joblib \
|
| 19 |
+
openai anthropic google-generativeai \
|
| 20 |
+
langchain langchain-community
|
| 21 |
|
| 22 |
RUN pip install --no-cache-dir \
|
| 23 |
--index-url https://download.pytorch.org/whl/cpu \
|