Docker build Error:
HI All,
First day here and first message.
I was deploying a django project using the cli "railway up" command and i cancelled the process mid-way. Now when i try to deploy again I am getting an error: #12 0.443 Error: '/opt/venv/bin/python' and '/opt/venv/bin/python' are the same file
#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/13] RUN --mount=type=cache,id=s/d818dbb4-a3b5-4b58-9603-3f7aeb85bbe1-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt:#12 0.443 Error: '/opt/venv/bin/python' and '/opt/venv/bin/python' are the same file It seems to me that i need to prune docker system for any cached or unwanted files. Assistance will be much appreaciated.
3 Replies