Deploying CRA from Github Repo

seankuehl
HOBBY

7 months 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
HOBBY

7 months ago

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


7 months ago

Glad you were able to solve!


Status changed to Solved brody 7 months ago