Skip to content

Commit 066d4ce

Browse files
committed
build: 修复找不到 requirements.txt 文件的错误
1 parent 0cc9776 commit 066d4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ COPY --from=requirements-stage /tmp/requirements.txt /app/requirements.txt
2222
RUN apt-get update \
2323
&& apt-get -y upgrade \
2424
&& apt-get install -y --no-install-recommends git \
25-
&& pip install --no-cache-dir --upgrade -r requirements.txt \
25+
&& pip install --no-cache-dir --upgrade -r /app/requirements.txt \
2626
&& apt-get purge -y --auto-remove \
2727
&& rm -rf /var/lib/apt/lists/* \
2828
&& rm /app/requirements.txt

0 commit comments

Comments
 (0)