Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -8,7 +8,7 @@ WORKDIR /app
|
|
8 |
COPY . .
|
9 |
|
10 |
# 安装所需的Python库
|
11 |
-
RUN pip install --no-cache-dir requests
|
12 |
|
13 |
# 设置环境变量(可选)
|
14 |
ENV PYTHONUNBUFFERED=1
|
|
|
8 |
COPY . .
|
9 |
|
10 |
# 安装所需的Python库
|
11 |
+
RUN pip install --no-cache-dir fastapi uvicorn httpx pydantic requests
|
12 |
|
13 |
# 设置环境变量(可选)
|
14 |
ENV PYTHONUNBUFFERED=1
|