/docker-react-app-sample

sample app to use Docker

Primary LanguageJavaScript

Getting Started react app with docker

Dockerfile을 통해 간단한 react application을 구동하기 위한 샘플 프로젝트 입니다.

Check docker version

docker version

Build Docker image

docker build -f Dockerfile.dev -t <도커 허브 계정명>/docker-react-app-test ./

Check Docker image

docker images

Run Docker Container

docker run -it -d -p 3000:3000 <도커 허브 계정명>/docker-react-app

Check Docker container process

docker ps

Enter local web service

localhost:3000