Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for 10 (0.2 sec)

  1. docs/ko/docs/deployment/docker.md

    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. 첫 스테이지로, `requirements-stage`라고 이름 붙였습니다.
    
    2. `/tmp`를 현재의 워킹 디렉터리로 설정합니다.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/docker.md

    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. 这是第一阶段,称为`requirements-stage`。
    
    2. 将 `/tmp` 设置为当前工作目录。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
  3. docs/fr/docs/deployment/docker.md

    * Générer et déployer une application **FastAPI** complète, en utilisant votre cluster Docker Swarm, avec HTTPS, etc. En environ **10 min**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  4. docs/ru/docs/deployment/docker.md

    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Это первый этап, которому мы дадим имя `requirements-stage`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  5. docs/em/docs/deployment/docker.md

    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1️⃣. 👉 🥇 ▶️, ⚫️ 🌟 `requirements-stage`.
    
    2️⃣. ⚒ `/tmp` ⏮️ 👷 📁.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 27.9K bytes
    - Viewed (0)
  6. docs/ja/docs/deployment/docker.md

    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. これは最初のステージで、`requirements-stage`と名付けられます
    2. `/tmp` を現在の作業ディレクトリに設定します
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 44.3K bytes
    - Viewed (0)
  7. docs/de/docs/deployment/docker.md

    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Dies ist die erste Phase, genannt `requirements-stage` – „Anforderungsphase“.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:19:17 GMT 2024
    - 38.9K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. This is the first stage, it is named `requirements-stage`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/docker.md

    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (10)
    COPY ./app /code/app
    
    # (11)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Esse é o primeiro estágio, ele é chamado `requirements-stage`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
Back to top