Spaces:
Running
Running
Download Dockerfile from Senthi1Kumar/nova: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/Senthi1Kumar/nova/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Senthi1Kumar/nova/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Senthi1Kumar/nova/resolve/main/Dockerfile
560 Bytes
| # nova-connect: the Nova web page + room-ticket service. Hugging Face Docker | |
| # Space (port 7860) or any container host. Holds no models and no audio. | |
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PORT=7860 | |
| # HF Spaces run the container as uid 1000. | |
| RUN useradd --create-home --uid 1000 app | |
| WORKDIR /home/app/nova-connect | |
| COPY --chown=app requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=app app.py token_service.py ./ | |
| COPY --chown=app static ./static | |
| USER app | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |