Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +10 -1
- README.md +0 -11
Dockerfile
CHANGED
|
@@ -13,7 +13,8 @@ WORKDIR /app
|
|
| 13 |
# -------------------------
|
| 14 |
ENV PYTHONUNBUFFERED=1 \
|
| 15 |
PYTHONPATH="/app" \
|
| 16 |
-
PORT=7860
|
|
|
|
| 17 |
|
| 18 |
# -------------------------
|
| 19 |
# Install system dependencies
|
|
@@ -34,6 +35,14 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|
| 34 |
# -------------------------
|
| 35 |
COPY . .
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
# -------------------------
|
| 38 |
# Make start.sh executable
|
| 39 |
# -------------------------
|
|
|
|
| 13 |
# -------------------------
|
| 14 |
ENV PYTHONUNBUFFERED=1 \
|
| 15 |
PYTHONPATH="/app" \
|
| 16 |
+
PORT=7860 \
|
| 17 |
+
DATA_FOLDER="/app/docs"
|
| 18 |
|
| 19 |
# -------------------------
|
| 20 |
# Install system dependencies
|
|
|
|
| 35 |
# -------------------------
|
| 36 |
COPY . .
|
| 37 |
|
| 38 |
+
# -------------------------
|
| 39 |
+
# Debug: list /app/docs & warn about big files
|
| 40 |
+
# -------------------------
|
| 41 |
+
RUN echo ">>> /app/docs contents (if any) <<<" && \
|
| 42 |
+
if [ -d "/app/docs" ]; then ls -la /app/docs || true; else echo "/app/docs not found"; fi && \
|
| 43 |
+
echo ">>> Checking for files larger than 100MB <<<" && \
|
| 44 |
+
if [ -d "/app" ]; then find /app -type f -size +100M -exec ls -lh {} \; || true; else echo "no /app dir"; fi
|
| 45 |
+
|
| 46 |
# -------------------------
|
| 47 |
# Make start.sh executable
|
| 48 |
# -------------------------
|
README.md
CHANGED
|
@@ -9,17 +9,6 @@ app_file: start.sh
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
| 13 |
-
---
|
| 14 |
-
title: Multi-Document Semantic Search Engine
|
| 15 |
-
emoji: ๐
|
| 16 |
-
colorFrom: blue
|
| 17 |
-
colorTo: purple
|
| 18 |
-
sdk: docker
|
| 19 |
-
app_file: start.sh
|
| 20 |
-
pinned: false
|
| 21 |
-
---
|
| 22 |
-
|
| 23 |
# ๐ Multi-Document Semantic Search Engine (Gemini-Style UI)
|
| 24 |
|
| 25 |
A **microservice-based** semantic search engine over 20 Newsgroups-style text documents with:
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
# ๐ Multi-Document Semantic Search Engine (Gemini-Style UI)
|
| 13 |
|
| 14 |
A **microservice-based** semantic search engine over 20 Newsgroups-style text documents with:
|