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.
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
seankuehl
HOBBY
7 months ago
I've since solved this issue, my Caddyfile was Caddyfile.txt not just Caddyfile
Status changed to Solved brody • 7 months ago