R
Railway

✋|help

Error installing Python Packages via requirements.txt inside Docker build

Ssounakcsi9/16/2023
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.
BBrody9/16/2023
can you send the dockerfile?
Ssounakcsi9/17/2023
Ssounakcsi9/17/2023
@Brody
Ffedev1009/17/2023
#🛂|readme n.5
BBrody9/17/2023
#5
Ffedev1009/17/2023
oops 😅
BBrody9/17/2023
can I ask what you are using selenium for?
Ssounakcsi9/18/2023
@Brody Automation
BBrody9/18/2023
what are you automating?
Ssounakcsi9/19/2023
@Brody I dont think your question has anything to do with the error.
BBrody9/19/2023
you have been told this before #🛂|readme #5
AAdam9/19/2023
@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.
RRay9/19/2023
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

Looking for more? Join the community!

Recommended Posts
How can I set usage limits?Hello! Following the latest changelog, I wanted to configure usage limits and reading the documentatWhat Postgres Version is railway usingWhat Postgres Version is railway usingcredit missingHello, before the railway plan rework, I purchased $5 credits. Now after the rework, I only have theSomebody got a working PostHog Template?The current template in the marketplace is not deploying: https://railway.app/template/16rDubUpgrading NixPacks NodeJS from 18.12.1 to 18.14.1I tried to deploy an Astro.build 3.1.0 I get a build error that my node version is incorrect: ``` 0.Many print statements are missing from logs?Hello! I have been using railway for a couple months now I have my program sysout a couple thousand All cron jobs skippedProject ID: `f3ce15da-e811-4392-8e64-d21d3ca5660e` I have a project with a cron job that runs everyError deploy flaskHii, im having a problem with my project, can someone help me Project ID 0f9c813d-b8f5-4b7c-aa00-adHelp with webhooksRailway doesn't call my webhook, but i can manually call it through postmanDeleted MySQL DatabaseHow do I recover a deleted database without backup. projectId: e28cd36d-0d6f-4588-a03f-b54a6e97d1Connect to services using Private NetworksProject ID: 1790d4a8-0e32-4b4e-bf67-6ce23d7ae9e1 I'm trying to connect my main project (Node.js) toUpload FilesGood morning, I have 4 gigabytes of image files, my application is connected to Git, and I can't uplFiles on mounted volume not available after redeployI did a fresh deploy of @Brody 's Payload CMS template (https://github.com/brody192/payload-cms-tempCan't manually fill MySQLNone of the options i've tried works. I can still create dbs and populate them when connecting throuReferenced variables are emptyIf I hardcode the url in env variables, the deployment is successful, however using a reference to aSetup a monorepoHey guys, I'm using yarn workspaces and turborepo. I tried setting up the build command to "yarn turCan't start Remotion serverWhenever I try to use the Remotion server it cannot open the browser process and shows me this errorRecover a file inside a deploymentBy mistake I left a sqlite file inside a deployment and made a lot of updates to the database on thaDeployment Failed during build processI'm encountering issues while trying to build my Vue 3 and TypeScript project on Railway using NixpaBuild failing without errorMy build is failing to deploy without any error. Its just saying the container failed to start. The