Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Dockerfile (0.19 sec)

  1. .github/actions/comment-docs-preview-in-pr/Dockerfile

    Sebastián Ramírez <******@****.***> 1704812573 +0400
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:02:53 GMT 2024
    - 155 bytes
    - Viewed (0)
  2. .github/actions/notify-translations/Dockerfile

    Sebastián Ramírez <******@****.***> 1695930699 -0500
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 19:51:39 GMT 2023
    - 138 bytes
    - Viewed (0)
  3. .github/actions/people/Dockerfile

    Sebastián Ramírez <******@****.***> 1691071948 +0200
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 03 14:12:28 GMT 2023
    - 156 bytes
    - Viewed (0)
  4. docs/ru/docs/deployment/docker.md

    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    В этой же директории создайте файл `Dockerfile` и заполните его:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  5. docs/ko/docs/deployment/docker.md

    #### 도커 캐시
    
    이 `Dockerfile`에는 중요한 트릭이 있는데, 처음에는 **의존성이 있는 파일만** 복사하고, 나머지 코드는 그대로 둡니다. 왜 이런 방법을 써야하는지 설명하겠습니다.
    
    ```Dockerfile
    COPY ./requirements.txt /code/requirements.txt
    ```
    
    도커와 다른 도구들은 컨테이너 이미지를 **증가하는 방식으로 빌드**합니다. `Dockerfile`의 맨 윗 부분부터 시작해, 레이어 위에 새로운 레이어를 더하는 방식으로, `Dockerfile`의 각 지시 사항으로 부터 생성된 어떤 파일이든  더해갑니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. .github/actions/people/action.yml

    author: "Sebastián Ramírez <******@****.***>"
    inputs:
      token:
        description: 'User token, to read the GitHub API. Can be passed in using {{ secrets.FASTAPI_PEOPLE }}'
        required: true
    runs:
      using: 'docker'
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jul 09 15:44:40 GMT 2023
    - 333 bytes
    - Viewed (0)
  7. docs/zh/docs/deployment/docker.md

    使用 Linux 容器有几个优点,包括**安全性**、**可复制性**、**简单性**等。
    
    !!! tip
        赶时间并且已经知道这些东西了? 跳转到下面的 [`Dockerfile` 👇](#fastapi-docker_1)。
    
    
    <details>
    <summary>Dockerfile Preview 👀</summary>
    
    ```Dockerfile
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
  8. docs/pt/docs/deployment/docker.md

    !!! tip "Dica"
        Está com pressa e já sabe dessas coisas? Pode ir direto para [`Dockerfile` abaixo 👇](#construindo-uma-imagem-docker-para-fastapi).
    
    
    <details>
    <summary>Visualização do Dockerfile 👀</summary>
    
    ```Dockerfile
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  9. docs/de/docs/deployment/docker.md

    !!! tip "Tipp"
        Sie haben es eilig und kennen sich bereits aus? Springen Sie zum [`Dockerfile` unten 👇](#ein-docker-image-fur-fastapi-erstellen).
    
    <Details>
    <summary>Dockerfile-Vorschau 👀</summary>
    
    ```Dockerfile
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:19:17 GMT 2024
    - 38.9K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    !!! tip
        In a hurry and already know this stuff? Jump to the [`Dockerfile` below 👇](#build-a-docker-image-for-fastapi).
    
    <details>
    <summary>Dockerfile Preview 👀</summary>
    
    ```Dockerfile
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top