Spaces:
Sleeping
Sleeping
Download Dockerfile from sarmaddev/AI-Receptionist: direct link, hf CLI and curl.
- Browser
- Download file 463 Bytes
-
https://huggingface.co/spaces/sarmaddev/AI-Receptionist/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sarmaddev/AI-Receptionist/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sarmaddev/AI-Receptionist/resolve/main/Dockerfile
463 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy project files | |
| COPY . . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Create the required directory and adjust its ownership | |
| RUN mkdir -p /app/.files && chown -R 1000:1000 /app/.files | |
| # Create a non-root user and switch to it | |
| RUN adduser --disabled-password --gecos '' appuser && chown -R appuser:appuser /app | |
| USER appuser | |
| EXPOSE 7860 | |
| CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"] |