sounakcsi
sounakcsi
RRailway
Created by sounakcsi on 9/16/2023 in #✋|help
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.
18 replies
RRailway
Created by sounakcsi on 9/3/2023 in #✋|help
Selenium driver unable to fetch page in Selenium deployment
No description
5 replies