uvicorn-gunicorn-starlette-docker
Docker image with Uvicorn managed by Gunicorn for high-performance Starlette web applications in Python with performance auto-tuning.
파일 탐색기
최종 버전 다운로드 (.zip)- deploy.yml
- issue-manager.yml
- test.yml
- zizmor.yml
- dependabot.yml
- latest-changes.yml
- main.py
- python3.10-slim.dockerfile
- python3.10.dockerfile
- python3.11-slim.dockerfile
- python3.11.dockerfile
- requirements.txt
- __init__.py
- test_defaults.py
- __init__.py
- utils.py
- .gitignore
- LICENSE
- README.md
- release-notes.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/tiangolo/uvicorn-gunicorn-starlette-docker
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd uvicorn-gunicorn-starlette-docker
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
RUN pip install poetry
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
COPY ./pyproject.toml ./poetry.lock* /tmp/
이 명령어를 터미널에 그대로 입력해 실행하세요.
RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
이 명령어를 터미널에 그대로 입력해 실행하세요.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
