Code Monkey home page Code Monkey logo

cicd-practice's Introduction

cicd-practice

Docker 및 GitHub Action을 활용한 CICD 실습을 위한 프로젝트.

사전 준비사항

  • YAML과 Docker를 이해하고 있으면 도움이 되요. 잘 모른다면 아래 자료를 한 번 읽어봐주세요!
  • 아래 개발환경이 세팅되어 있어야 해요.
    • Docker Desktop
    • 코드를 편집할 수 있는 에디터
  • python 3.10.12

개발 환경 실행

필수 패키지 설치

pip install -r requirements.txt

실행

uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

Docker 빌드 및 배포

Docker 이미지 빌드

docker build -t [이미지명]:[태그] -f Dockerfile .

Docker 로컬 실행

docker run -it --rm -p 8000:8000 [이미지명]:[태그]

Docker 이미지 업로드

docker push [이미지명]:[태그]

cicd-practice's People

Contributors

geunsam2 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.