打包Backend基础Build包时出错:#11 2.460 ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/requirements.txt'
pull/87/head
李晨亮 2023-01-31 11:00:37 +08:00
parent cb2728f079
commit 97cde12feb
1 changed files with 2 additions and 2 deletions

View File

@ -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
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