Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
fiewolf1000
/
Astock
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
daadd27
Astock
/
Dockerfile
fiewolf1000
Update Dockerfile
daadd27
verified
13 days ago
raw
Copy download link
history
blame
Safe
218 Bytes
FROM
python:
3.9
-slim
WORKDIR
/app
COPY
. .
# 设置 matplotlib 配置目录到/tmp(可写目录)
ENV
MPLCONFIGDIR=/tmp/matplotlib_config
RUN
pip install --no-cache-dir -r requirements.txt
CMD
[
"python"
,
"app.py"
]