I would typically run a Nginx server and point the root to the output of
npm run build. However for my current project, I’m using the Docker image for Traefik to handle requests on port 443 and 80 instead along with docker-compose to bring up my microservices. How do I get the Traefik container to serve my React app? I’m able to get my React app to run with the DigitalOcean Apps feature, but I cannot get Apps to run my docker-compose.
Also how do I use Spaces CDN to serve my
npm run build folder?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.