Deploying Create React App on Fly

The [static] block is built for that kind of app. It’s sometimes harder than it should be to bundle static assets AND an app server together in a JS app. But all you need is a Dockerfile that runs the app server and the assets in the same image: First look: static asset caching

1 Like