Moonsteroid
Railway cant execute my binary
Hey!
I'm deploying to railway via a Dockerfile which as an
ENTRYPOINT
has /app/main
, main
is my go build executeable. It used to work just fine months ago, didn;t deployed for a while and now when deploying i'm getting:
/bin/sh: ./main: not found
or
[FATAL tini (7)] exec /app/main failed: No such file or directory
I checked the pwd
and ls
before executing the binary and the binary is indeed in the directory but it just cant find it for any reason. Any idea why? :)5 replies