it seems like my container doesn't have access to internet.
developer-tz
TRIALOP

a year ago

My container fails to build and after adding some debug lines in the Dockerfile, i've observed that it might not have internet access which is why it was failing to install the dependencies in the requirements.txt file.

The error i'm getting right now is;

[4/6] RUN curl -I https://pypi.org:

0.077 /bin/sh: 1: curl: not found

Dockerfile:17

15 |
16 | # checking internet connectivity
17 | >>> RUN curl -I https://pypi.org
18 |

19 | # Install any needed packages specified in requirements.txt

ERROR: failed to solve: process "/bin/sh -c curl -I https://pypi.org"; did not complete successfully: exit code: 127

i added that line just to debug if connectivity was OK, but it turns out its not.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

Loading...