Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
|
@@ -1,14 +1,7 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
-
# 安装 git 和 ca-certificates
|
| 4 |
-
RUN apt-get update && \
|
| 5 |
-
apt-get install -y --no-install-recommends git ca-certificates && \
|
| 6 |
-
apt-get clean && \
|
| 7 |
-
rm -rf /var/lib/apt/lists/*
|
| 8 |
-
|
| 9 |
WORKDIR /app
|
| 10 |
|
| 11 |
-
|
| 12 |
COPY requirements.txt .
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|