Skip to content

elbasysteming/dockerizing-a-react-app-whit-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to dockerize a React application

1.- Build the Docker image for the current folder and tag it with dockerized-react

docker build . -t dockerized-react

2.- Check the image was created

docker images

3.- Notice we're now mapping port 80 inside the container to port 3000 on the host machine

docker run -p 3000:80 -d dockerized-react

About

Dockerizing a react app whit nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published