Spaces:
Runtime error
Runtime error
File size: 760 Bytes
27a80fd a129f82 27a80fd 5f3b26f 27a80fd 5f3b26f 2c90c57 deedd65 2c90c57 5f3b26f 27a80fd 5f3b26f 62144fe ff9d3d7 | 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 | FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential libgomp1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements-space.txt .
RUN pip install --no-cache-dir -r requirements-space.txt
RUN python3 -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('all-MiniLM-L6-v2')"
COPY download_data.py .
RUN python3 download_data.py
COPY src/ ./src/
EXPOSE 7860
CMD ["streamlit", "run", "src/dashboard/app_standalone.py", \
"--server.port=7860", \
"--server.address=0.0.0.0", \
"--server.headless=true", \
"--server.enableCORS=false", \
"--server.enableXsrfProtection=false", \
"--browser.gatherUsageStats=false", \
"--theme.base=light"] |