Spaces:
Running
Running
Download src/Dockerfile from Sebebeb/SecureChat: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/Sebebeb/SecureChat/resolve/main/src/Dockerfile
- Command line
-
hf download hf://spaces/Sebebeb/SecureChat/src/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sebebeb/SecureChat/resolve/main/src/Dockerfile
380 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| gcc \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Create data directory for SQLite | |
| RUN mkdir -p /app/data | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |