Spaces:
Sleeping
Sleeping
Update root/Dockerfile
Browse files21 unmodified lines222324252627281 unmodified line3031323321 unmodified lines# (it should be committed to the repo, but this is a safety net)RUN mkdir -p root/network root/db root/api# HuggingFace Spaces requires the app to listen on port 7860EXPOSE 8000# Set environment variables1 unmodified lineENV PYTHONDONTWRITEBYTECODE=1# Run the FastAPI app (app.py serves the env via HTTP)CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]21 unmodified lines222324252627281 unmodified line3031323321 unmodified lines# (it should be committed to the repo, but this is a safety net)RUN mkdir -p root/network root/db root/api# HuggingFace Spaces requires the app to listen on port 8000EXPOSE 8000# Set environment variables1 unmodified lineENV PYTHONDONTWRITEBYTECODE=1# Run the FastAPI app (app.py serves the env via HTTP)CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"]
root/Dockerfile+2-2