Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

리엑트 실행하기

npm start

리엑트 빌드하기 (html 파일 만들기)

npm run build

Dockerfile 만들어서 이미지 빌드하기

docker build . -t react-app

nginx 실행하기

docker run -p 80:80 -dit react-app

FROM nginx:1.16.0-alpine
COPY ./build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

docker run -dit -p 80:80 react-app

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages