Deploying CRA from Github Repo
seankuehl
HOBBYOP

2 years ago

I am trying to deploy a Github repo that was created from the Create React App framework. I've had several issues in trying to deploy it. I have a nixpax.toml and a caddyfile. The latest error I've encountered is this: Dockerfile:33

31 | # fmt phase 32 | COPY . /app/. 33 | >>> RUN caddy fmt --overwrite Caddyfile 34 | 35 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c caddy fmt --overwrite Caddyfile" did not complete successfully: exit code: 1

Error: Docker build failed

Please let me know if you can help. Thank you.

View Deploy details

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

Solved

2 Replies

seankuehl
HOBBYOP

2 years ago

I've since solved this issue, my Caddyfile was Caddyfile.txt not just Caddyfile


2 years ago

Glad you were able to solve!


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...