Issue with build step, build command is to run a .sh script file
melissaluc
TRIALOP

2 years ago

[stage-0 9/11] RUN --mount=type=cache,id=s/30ab7cf0-d64f-4890-9908-6a558f4b66ca-nodemodules/cache,target=/app/nodemodules/.cache ./render-build.sh:

0.342 /bin/bash: line 1: ./render-build.sh: Permission denied

2 warnings found (use --debug to expand):

  • UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18)

Dockerfile:24

22 | # build phase

23 | COPY . /app/.

24 | >>> RUN --mount=type=cache,id=s/30ab7cf0-d64f-4890-9908-6a558f4b66ca-nodemodules/cache,target=/app/nodemodules/.cache ./render-build.sh

25 |

26 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c ./render-build.sh" did not complete successfully: exit code: 126

View Deploy details

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

1 Replies

2 years ago

Full build logs please - https://bookmarklets.up.railway.app/log-downloader/

Also, what is render-build.sh doing, please provide more context.


Loading...