nova / Dockerfile
Senthi1Kumar's picture
Upload folder using huggingface_hub
d65a9ae verified
Raw History Blame
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"]