Skip to content

mr-pascal/medium-react-docker-optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Medium React Docker Optimization

Start React app

All commands need to be run inside ./my-app/ folder:

Install dependencies

yarn install

Start local development server (Chrome tab is automatically opened on http://localhost:3000/)

yarn start

Docker

Build Docker image

docker build -t react-nginx .

Start Docker container

docker run -d -p 8080:80 react-nginx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published