R
Railway•14mo ago
sounakcsi

Error installing Python Packages via requirements.txt inside Docker build

Project ID: 1b6776e2-c07c-4f4f-8d54-cd1c9aee3de0 I am trying to deploy an application via Dockerfile. I created a simple dockerfile that installs a few python packages using requirements.txt file. However, while installing the packages, it throws an error saying : #8 0.278 exec /bin/bash: exec format error #8 ERROR: process "/bin/bash -o pipefail -c pip install --upgrade pip" did not complete successfully: exit code: 1 -----
[4/6] RUN pip install --upgrade pip:
0.278 exec /bin/bash: exec format error ----- Dockerfile:12 ------------------- 10 | WORKDIR /app 11 | COPY requirements.txt requirements.txt 12 | >>> RUN pip install --upgrade pip 13 | RUN pip install -r requirements.txt 14 | ------------------- ERROR: failed to solve: process "/bin/bash -o pipefail -c pip install --upgrade pip" did not complete successfully: exit code: 1 The docker build command runs flawlessly on my local machine, but the same when deployed via github->railway.app throws the above error.
14 Replies
Percy
Percy•14mo ago
Project ID: 1b6776e2-c07c-4f4f-8d54-cd1c9aee3de0
Brody
Brody•14mo ago
can you send the dockerfile?
sounakcsi
sounakcsi•14mo ago
sounakcsi
sounakcsi•14mo ago
@Brody
fedev
fedev•14mo ago
#🛂|readme n.5
Brody
Brody•14mo ago
#5
fedev
fedev•14mo ago
oops 😅
Brody
Brody•14mo ago
can I ask what you are using selenium for?
sounakcsi
sounakcsi•14mo ago
@Brody Automation
Brody
Brody•14mo ago
what are you automating?
sounakcsi
sounakcsi•14mo ago
@Brody I dont think your question has anything to do with the error.
Brody
Brody•14mo ago
you have been told this before #🛂|readme #5
Adam
Adam•14mo ago
@sounakcsi It does, there are many uses of webscraping that go against Railway's TOS. Please tell us what your use case is so we can advise you whether to use the platform or not if you're using it for an unsupported purpose, your account may be banned.
Ray
Ray•14mo ago
exec format error
You have something that's either built for ARM which we do not support, or whatever you're running isn't actually an executable Please do not ping conductors again -> https://discord.com/channels/713503345364697088/727685388893945877 #5 This is your final warning before a server ban
Want results from more Discord servers?
Add your server