Skip to content

This is a tutorial how you can run your react application in docker

Notifications You must be signed in to change notification settings

debabrata100/react-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-docker

This project explains how to run a react application in docker(https://www.docker.com/).

Build docker image

docker build . -t react-docker

Run docker container

docker run -p 8000:80 react-docker and Navigate to http://localhost:8000/

Development server

Run yarn start for a dev sever. Navigate to http://localhost:3000/. The app will automatically reload if you change any of the source files inside app directory.

Build

  • Run yarn build to build the project. The build artifacts will be stored in the build/ directory.

Detailed Explanation

About

This is a tutorial how you can run your react application in docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published