Skip to content

reactjs 지식이 없는 사람에게 가장 처음 시작하는 hello 데모

License

Notifications You must be signed in to change notification settings

simplydemo/hello-reactjs

Repository files navigation

hello-reactjs

build reactjs

npm install

npm run build:dev

# for prd
# npm run build:prd

build image

docker build -t "hello-reactjs:local" -f ./cicd/docker/Dockerfile .

run container

docker run --rm --name=hello-reactjs -p 8010:80 "hello-reactjs:local"

helm

  • deploy
# helm upgrade -i hello-reactjs ./cicd/helm-service --set 'image.tag=2310.1' --dry-run --debug

helm upgrade -i hello-reactjs ./cicd/helm-service --set 'image.tag=2310.1'
  • delete
helm uninstall hello-reactjs --namespace default

Appendix

docker-hub

# pull from hub
docker pull symplesims/hello-reactjs:1.0

# run on local
docker run --rm --name=hello-reactjs -p 8010:80 "symplesims/hello-reactjs:1.0"

buildx for multiple platform

docker buildx build --build-arg "VERSION=2310.3" --build-arg "PROFILE=production" \
  --platform linux/amd64,linux/arm64/v8 --tag "hello-reactjs:local" \
  --file ./cicd/docker/Dockerfile .

helm

deploy

helm plugin install https://github.com/jkroepke/helm-secrets --version v4.5.1
helm secrets upgrade -i hello-reactjs --namespace default --set 'image.tag=2310.1' -f ./cicd/charts/values.yaml ./cicd/charts 

uninstall

helm uninstall hello-reactjs --namespace default

About

reactjs 지식이 없는 사람에게 가장 처음 시작하는 hello 데모

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published