Spaces:
Sleeping
Sleeping
Caner Giden commited on
Commit ·
2fbfcd8
1
Parent(s): ba62e89
Fix Hugging Face Spaces deployment: add Dockerfile and update app.py
Browse filesFiles changed (3)
- DockerfileAdded+13
- README.md+1
- app.py+4
12345678910111213FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]
3 unmodified lines456789103 unmodified linescolorFrom: indigocolorTo: graysdk: dockerapp_file: app.pypinned: false---
12345678from app.main import app
if __name__ == "__main__": import uvicorn uvicorn.run(app, host="0.0.0.0", port=7860)
__all__ = ["app"]
DockerfileAdded+13
README.md+1
app.py+4