Spaces:
Sleeping
Sleeping
Update root/Dockerfile
Browse files22 unmodified lines232425262728293031323322 unmodified linesRUN mkdir -p root/network root/db root/api# HuggingFace Spaces requires the app to listen on port 7860EXPOSE 7860# Set environment variablesENV PYTHONUNBUFFERED=1ENV PYTHONDONTWRITEBYTECODE=1# Run the FastAPI app (app.py serves the env via HTTP)CMD ["uvicorn", "rl_doc_parser:app", "--host", "0.0.0.0", "--port", "7860"]22 unmodified lines232425262728293031323322 unmodified linesRUN mkdir -p root/network root/db root/api# HuggingFace Spaces requires the app to listen on port 7860EXPOSE 8000# Set environment variablesENV PYTHONUNBUFFERED=1ENV PYTHONDONTWRITEBYTECODE=1# Run the FastAPI app (app.py serves the env via HTTP)CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
root/Dockerfile+2-2