R
Railway•15mo 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•15mo ago
Project ID: 1b6776e2-c07c-4f4f-8d54-cd1c9aee3de0
Brody
Brody•15mo ago
can you send the dockerfile?
sounakcsi
sounakcsiOP•15mo ago
sounakcsi
sounakcsiOP•15mo ago
@Brody
fedev
fedev•15mo ago
#🛂|readme n.5
Brody
Brody•15mo ago
#5
fedev
fedev•15mo ago
oops 😅
Brody
Brody•15mo ago
can I ask what you are using selenium for?
sounakcsi
sounakcsiOP•15mo ago
@Brody Automation
Brody
Brody•15mo ago
what are you automating?
sounakcsi
sounakcsiOP•15mo ago
@Brody I dont think your question has anything to do with the error.
Brody
Brody•15mo ago
you have been told this before #🛂|readme #5
Adam
Adam•15mo 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•15mo 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