Fastapi-AI-Production-Template
Simple starter template for your ML/AI projects (uv package manager, RestAPI with FastAPI and Dockerfile support)
파일 탐색기
최종 버전 다운로드 (.zip)- SKILL.md
- dependencies.md
- other-tools.md
- streaming.md
- SKILL.md
- cuml-machine-learning
- fastapi
- pytest.yml
- dependabot.yml
- model-randomforest.pkl
- __init__.py
- agent.py
- chatbot.py
- mcp.py
- predict.py
- __init__.py
- logger.py
- main.py
- middleware.py
- books.csv
- Iris.csv
- graph.png
- thumbnail.png
- deployment.yaml
- hpa.yaml
- ingress.yaml
- service.yaml
- agent-in-langchain.ipynb
- intro-to-langgraph.ipynb
- langgraph-app-1.ipynb
- langgraph-app-2.ipynb
- iris-knn.ipynb
- iris-randomforest.ipynb
- Petal Length VS Width.png
- Sepal Length VS Width.png
- variable with species.png
- .dockerignore
- .env.example
- .gitignore
- .pre-commit-config.yaml
- .python-version
- AGENTS.md
- app.log
- CLAUDE.md
- Dockerfile
- LICENSE
- pyproject.toml
- README.md
- ruff.toml
- skills-lock.json
- uv.lock
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/wahyudesu/Fastapi-AI-Production-Template
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd Fastapi-AI-Production-Template
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t fastapi-app .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8000:80 fastapi-app
빌드된 이미지를 실제 컨테이너로 실행합니다.
<img src="https://img.shields.io/badge/Docker-%230db7ed.svg?style=flat&logo=Docker&logoColor=white" alt="Docker">
이 명령어를 터미널에 그대로 입력해 실행하세요.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
