Entz commited on
Commit
d6c9677
·
verified ·
1 Parent(s): b6387e7

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -30
Dockerfile DELETED
@@ -1,30 +0,0 @@
1
- # syntax=docker/dockerfile:1
2
- FROM python:3.10-slim
3
-
4
- ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
5
- PYTHONDONTWRITEBYTECODE=1 \
6
- PYTHONUNBUFFERED=1
7
-
8
- # (Needed for the HEALTHCHECK)
9
- RUN apt-get update && apt-get install -y --no-install-recommends curl \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- WORKDIR /app
13
-
14
- # Install deps first for build caching
15
- COPY requirements.txt /app/
16
- RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
17
-
18
- # Copy ALL app files (frontend, backend, both MCP servers, etc.)
19
- COPY . /app
20
-
21
- # HF Spaces provides a dynamic $PORT; use it (8501 is brittle in Docker Spaces)
22
- ENV PORT=7860
23
- EXPOSE 7860
24
-
25
- # Make readiness explicit so Space flips from "Starting" → "Running"
26
- HEALTHCHECK --interval=10s --timeout=3s --start-period=20s --retries=3 \
27
- CMD curl -fsS "http://127.0.0.1:${PORT}/_stcore/health" || exit 1
28
-
29
- # Launch Streamlit on the Space port
30
- CMD bash -lc "streamlit run frontend.py --server.address=0.0.0.0 --server.port=$PORT"