Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Banu007
/
python-api
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ecf3ab5
python-api
/
Dockerfile
Banu007
Create Dockerfile
bb68809
verified
5 months ago
raw
Copy download link
history
blame
Safe
207 Bytes
FROM
python:
3.10
-slim
WORKDIR
/app
COPY
requirements.txt .
RUN
pip install --no-cache-dir -r requirements.txt
COPY
app.py .
EXPOSE
7860
CMD
[
"uvicorn"
,
"app:app"
,
"--host"
,
"0.0.0.0"
,
"--port"
,
"7860"
]