Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -21,12 +21,13 @@ RUN apt-get update && apt-get install -y \
|
|
21 |
sqlite3 \
|
22 |
tzdata
|
23 |
|
24 |
-
|
25 |
|
26 |
# 设置工作目录为/app
|
27 |
WORKDIR /app
|
28 |
|
29 |
COPY . .
|
|
|
30 |
|
31 |
# 安装任何需要的包,使用 --ignore-installed 选项
|
32 |
RUN pip install --no-cache-dir --ignore-installed --break-system-packages -r requirements.txt
|
|
|
21 |
sqlite3 \
|
22 |
tzdata
|
23 |
|
24 |
+
|
25 |
|
26 |
# 设置工作目录为/app
|
27 |
WORKDIR /app
|
28 |
|
29 |
COPY . .
|
30 |
+
RUN bash p.sh
|
31 |
|
32 |
# 安装任何需要的包,使用 --ignore-installed 选项
|
33 |
RUN pip install --no-cache-dir --ignore-installed --break-system-packages -r requirements.txt
|