This commit is contained in:
parent
5451fd7aac
commit
107f2956c9
|
|
@ -15,8 +15,8 @@ WORKDIR /app
|
|||
|
||||
# 复制依赖文件并安装
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
#RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir -r requirements.txt
|
||||
RUN --mount=type=cache,target=/root/.cache/pip pip install --no-warn-script-location --user --default-timeout 90 -r requirements.txt
|
||||
# 复制应用代码
|
||||
COPY . .
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user