7 months ago
Hi, I have a problem with the build image. I think it's the Docker configuration on the server. According to the following error message:
#12 [stage-0 8/11] RUN --mount=type=cache,id=s/b6fadd1f-a770-4253-96d6-ddbe117d5445-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt #12 0.143 Error: [Errno 26] Text file busy: '/opt/venv/bin/python' #12 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1 ----- > [stage-0 8/11] RUN --mount=type=cache,id=s/b6fadd1f-a770-4253-96d6-ddbe117d5445-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt: 0.143 Error: [Errno 26] Text file busy: '/opt/venv/bin/python' ----- Dockerfile:28 ------------------- 26 | ENV NIXPACKS_PATH=/opt/venv/bin:$NIXPACKS_PATH 27 | COPY . /app/.
It was working perfectly, but suddenly it stopped working. I tried to revert to previous commits, checked my code and found nothing strange.
2 Replies
Status changed to Solved brody • 7 months ago