I developed a frontend application with reactjs. I distribute the application I developed with docker-compose. But while distributing, I encounter an error like below. Can you help to solve this?
web |
web | > react-docker-project@0.1.0 start /app
web | > react-scripts start
web |
web | ℹ 「wds」: Project is running at http://172.21.0.2/
web | ℹ 「wds」: webpack output is served from
web | ℹ 「wds」: Content not from webpack is served from /app/public
web | ℹ 「wds」: 404s will fallback to /
web | Starting the development server...
web |
web exited with code 0
There are no errors, you should use the contentBase option to setup it, but you use react-scripts boilerplate, so please open an issue in the react-scripts repo
Hello there,
I hope I've spelled correctly.
I developed a frontend application with reactjs. I distribute the application I developed with docker-compose. But while distributing, I encounter an error like below. Can you help to solve this?
Error https://ibb.co/YtYywBr
Operating System: Ubuntu 18 lts
Node Version: v12.16.3
NPM Version: 6.14.4
webpack Version: -
webpack-dev-server Version: -
Browser: Chrome, opera
[x] This is a bug
Code
docker-compose.yml
Dockerfile.react
package.json
Expected Behavior
Actual Behavior
For Bugs; How can we reproduce the behavior?
How can I fix this problem