ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv /opt/venv && . /opt/venv/b
Error: Docker build failed
39 Replies
Project ID:
e4949be4-03c7-44a7-a413-32ffc2e9c2f7
e4949be4-03c7-44a7-a413-32ffc2e9c2f7
Can you retry the build?
still same issue
Did the build start failing now or is this a new project?
new project
build logs please?
full build logs please
also, this wouldn't cause your build to fail, but definably don't use the --reload flag to run your app on railway
I think it may be due to the requirements.txt actually
i cant help much without full build logs
oh ok - sure thanks
^
I'm struggling to copy and paste 😅
understandable
every time I do it most of it gets cut off
copy it into a .txt file, not directly into discord
send your reqirements.txt file please
git+https://github.com/DisnakeDev/disnake.git
requests==2.28.2
pymongo==4.3.3
pandas~=1.5.3
Django~=4.2.1
djangorestframework~=3.14.0
Flask~=2.2.3
opencv-python~=4.5.5.62
numpy~=1.24.3
scikit-image~=0.20.0
beautifulsoup4~=4.12.2
selenium~=4.9.1
dhooks~=1.1.4
nltk~=3.8.1
tensorflow~=2.12.0
scipy~=1.9.1
fastapi~=0.95.2
uvicorn~=0.22.0
httpx~=0.24.1
can you send your repo?
Is there any way I can share it privately?
try this for your requirements.txt file
Thanks
do you mind telling me what you use beautifulsoup and selenium for?
they were for a different project but I left them in the requirements. The only requirements I needed for this project were:
and it worked fine
this worked great btw. deploy times were slightly longer than usual, but it's working fine. Thanks for that.
I assume that
opencv-python
was the issue then?you arent even installing opencv anymore
what do you mean
bruh
thats me irl
😅
you do not have opencv-python here anymore, thus you are not installing it
assuming those 3 lines make up your entire requirements.txt file
yeah, I'm aware of that. I deployed it with those three requirements first and it worked fine. Then I deployed it with the updated requirements that you sent and it also worked fine (after changing open-cv versions)
I can be thick sometimes but not that thick 😅
if you do use that opencv package, make sure you are using the headless version
will do a lot 🙂
and remember, no reload flag on your start command
yep - just removed that flag 👍
thanks
no problem!