3 months ago
internal
load build definition from Dockerfile.prod
0ms
-------------------
64 | RUN cat > /app/start-railway.sh << 'EOF'
65 | #!/bin/sh
66 | >>> set -e
67 |
68 | echo "
Starting Zrostay Application on Railway..."
-------------------
ERROR: failed to build: failed to solve: dockerfile parse error on line 66: unknown instruction: set (did you mean user?)
3 Replies
3 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
3 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 3 months ago
3 months ago
Hey. can you share the entire dockerfile?
2 months ago
This looks like >>> set -e is a part of your bash script, but I believe this should be set -e instead.
Does your Dockerfile include an end to the EOF? That appears cutoff from what was shared.
Based on the emoji in the echo, this looks like it was an LLM generated Dockerfile. Is that correct?
You may want to copy / paste the code from the LLM tool and into an IDE like Visual Studio Code first to ensure there's no extra characters or spaces being added.
If you continue to have issues, then it would be helpful if you can please share the Dockerfile as a whole so that we can better check the syntax.