Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
hzruo/SambaNova2API
pauper-tarot-chain
/
SambaNova2API
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
b18468d
SambaNova2API
/
Dockerfile
hzruo
Create Dockerfile
4a25bfa
verified
3 months ago
raw
Copy download link
history
blame
Safe
230 Bytes
FROM
python:
3.11
-slim
WORKDIR
/app
# 安装依赖
COPY
requirement.txt .
RUN
pip install --no-cache-dir -r requirement.txt
# 复制应用代码
COPY
app.py .
# 暴露端口
EXPOSE
7860
# 启动应用
CMD
[
"python"
,
"app.py"
]