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