https://github.com/ym1085/docker-react-app-sample
sample app to use Docker
https://github.com/ym1085/docker-react-app-sample
docker-compose dockerfile react
Last synced: 2 months ago
JSON representation
sample app to use Docker
- Host: GitHub
- URL: https://github.com/ym1085/docker-react-app-sample
- Owner: ym1085
- Created: 2022-07-12T14:46:42.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T03:44:03.000Z (almost 4 years ago)
- Last Synced: 2025-03-16T05:41:33.894Z (over 1 year ago)
- Topics: docker-compose, dockerfile, react
- Language: JavaScript
- Homepage:
- Size: 297 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting Started react app with docker
Dockerfile을 통해 간단한 react application을 구동하기 위한 샘플 프로젝트 입니다.
## Check docker version
```shell
docker version
```
## Build Docker image
```shell
docker build -f Dockerfile.dev -t <도커 허브 계정명>/docker-react-app-test ./
```
### Check Docker image
```shell
docker images
```
### Run Docker Container
```shell
docker run -it -d -p 3000:3000 <도커 허브 계정명>/docker-react-app
```
### Check Docker container process
```shell
docker ps
```
### Enter local web service
```
localhost:3000
```