Giter VIP home page Giter VIP logo

2024-04-cicd-week-3-template's Introduction

Get Started

# 1.
docker build -t monthly-cs-ecr-next-server .

# 2. ECR 인증용 비밀번호 조회
aws ecr get-login-password --region us-east-1 --profile monthly-cs

# 3. AWS_ACCOUNT_ID 조회
aws sts get-caller-identity --query "Account" --output text --profile monthly-cs

# 4. docker login
docker login --username AWS <AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com
docker login --username AWS 미야옹.dkr.ecr.us-east-1.amazonaws.com

# 5.
docker tag monthly-cs-ecr-next-server:latest 미야옹.dkr.ecr.us-east-1.amazonaws.com/monthly-cs-ecr-next-server:latest
# docker run -p 3000:3000 monthly-cs-ecr-next-server

# 6.
docker push <AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/monthly-cs-ecr-next-server:latest
docker push 미야옹.dkr.ecr.us-east-1.amazonaws.com/monthly-cs-ecr-next-server:latest

/public 안나오는 법

  1. Luke -
아래 경로의 파일을
C:\monthly-cs\2024-04-cicd-week-3-template\public

아래와 같이 복사 붙여넣기
C:\monthly-cs\2024-04-cicd-week-3-template\.next\standalone\public

2024-04-cicd-week-3-template's People

Contributors

seokwoodang avatar unchaptered avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.