В папке репозитория выполните команду:
docker-compose up
После чего контейнер запустит приложение по адресу http://localhost:3000
Ссылка на хаб с репозиторием: https://hub.docker.com/r/jermastock/react-book-app
При создании контейнера необходимо прописать
docker run -p 3000:3000 --name react-book-app jermastock/react-book-app
Важно связать порты при создании контейнера -p 3000:3000
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.