3 months ago
Is this really necessary to include dockerfile and caddyfile? or railway automatically handles this? I tried without using these files and the site is live. Will i face any future issues if those files is not included?
Pinned Solution
3 months ago
Yes, Railway can handle your react application without the need for a Dockerfile or a caddyfile. You can use Railpack(the default one) as your builder in this case and configure it as necessary. If your app is running as expected, there is no need for any additional stuff.
3 Replies
Status changed to Open Railway • 3 months ago
Status changed to Solved engineering-projects-workspace • 3 months ago
3 months ago
This is not solved, accidentally clicked solved.
Anyone please provide your answer on my thread.
Status changed to Awaiting Railway Response Railway • 3 months ago
Status changed to Open mykal • 3 months ago
3 months ago
Yes, Railway can handle your react application without the need for a Dockerfile or a caddyfile. You can use Railpack(the default one) as your builder in this case and configure it as necessary. If your app is running as expected, there is no need for any additional stuff.
3 months ago
See the image, railway clearly stated that Railpack automatically handles vite react and processes it further.
Attachments
Status changed to Solved medim • 3 months ago