From 97cde12febbeffe77274fdab0725a2a3bdd24c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=99=A8=E4=BA=AE?= Date: Tue, 31 Jan 2023 11:00:37 +0800 Subject: [PATCH] =?UTF-8?q?fixbug=EF=BC=9A#I6BW4F=20=EF=BC=88https://gitee?= =?UTF-8?q?.com/liqianglog/django-vue-admin/issues/I6BW4F=EF=BC=89=20?= =?UTF-8?q?=E6=89=93=E5=8C=85Backend=E5=9F=BA=E7=A1=80Build=E5=8C=85?= =?UTF-8?q?=E6=97=B6=E5=87=BA=E9=94=99=EF=BC=9A#11=202.460=20ERROR:=20Coul?= =?UTF-8?q?d=20not=20open=20requirements=20file:=20[Errno=202]=20No=20such?= =?UTF-8?q?=20file=20or=20directory:=20'/requirements.txt'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker_env/django/DockerfileBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker_env/django/DockerfileBuild b/docker_env/django/DockerfileBuild index b5d4ac3..dc994d1 100644 --- a/docker_env/django/DockerfileBuild +++ b/docker_env/django/DockerfileBuild @@ -4,5 +4,5 @@ RUN apk update && apk add bash bash-doc bash-completion git freetds-dev jpeg-dev WORKDIR /backend COPY ./backend/requirements.txt . COPY ./docker_env/requirements-all.txt . -RUN python3 -m pip install -i https://mirrors.aliyun.com/pypi/simple/ -r /requirements.txt -RUN python3 -m pip install -i https://mirrors.aliyun.com/pypi/simple/ -r /requirements-all.txt \ No newline at end of file +RUN python3 -m pip install -i https://mirrors.aliyun.com/pypi/simple/ -r ./requirements.txt +RUN python3 -m pip install -i https://mirrors.aliyun.com/pypi/simple/ -r ./requirements-all.txt \ No newline at end of file