Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ResearchEngineering
/
AGI
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
441479b
AGI
/
Dockerfile
Dmitry Beresnev
add fast api service
441479b
22 days ago
raw
Copy download link
history
blame
Safe
188 Bytes
FROM
python:
3.12
RUN
pip install --no-cache-dir fastapi uvicorn transformers accelerate torch
WORKDIR
/app
COPY
. /app
CMD
[
"uvicorn"
,
"app:app"
,
"--host"
,
"0.0.0.0"
,
"--port"
,
"7860"
]