uv-docker-example

(★ 802)

An example of using uv in Docker images

파일 탐색기

  • .dockerignore
  • .gitignore
  • compose.yml
  • Dockerfile
  • LICENSE-APACHE
  • LICENSE-MIT
  • multistage.Dockerfile
  • pyproject.toml
  • README.md
  • run.sh
  • standalone.Dockerfile
  • uv.lock

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

docker build

설명 보기 ▼

Build an image from a Dockerfile.

docker build .

Build a Docker image using the Dockerfile in the current directory:

docker build {{github.com/creack/docker-firefox}}

Build a Docker image from a Dockerfile at a specified URL:

docker build {{[-t|--tag]}} {{name:tag}} .

Build a Docker image and tag it:

🔍

docker compose up

설명 보기 ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker run

설명 보기 ▼

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

🔍

hello

설명 보기 ▼

"Hello, world!", "hello, world" 또는 사용자 정의 가능한 텍스트를 출력.
더 많은 정보: <https://www.gnu.org/software/hello/manual/hello.html#Invoking-hello>.

hello

"Hello, world!" 출력:

hello {{[-t|--traditional]}}

전통적인 유형인 "hello, world"를 출력:

hello {{[-g|--greeting]}} "{{greeting_text}}"

문자 메시지 출력:

🔍

watch

설명 보기 ▼

명령어를 반복 실행하고 출력 결과를 전체 화면 모드로 모니터링합니다.
더 많은 정보: <https://manned.org/watch>.

watch {{command}}

현재 디렉토리의 파일 모니터링:

watch {{[-n|--interval]}} 60 {{command}}

디스크 공간을 모니터링하고 변경 사항 강조 표시:

watch {{[-d|--differences]}} df

"node" 프로세스를 3초마다 새로고침하며 모니터링:

// repository documentation