Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Node (0.94 sec)

  1. docs/zh/docs/deployment/docker.md

    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    COPY ./app /code/app
    
    # (6)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. 从官方Python基础镜像开始。
    
    2. 将当前工作目录设置为`/code`。
    
         这是我们放置`requirements.txt`文件和`app`目录的位置。
    
    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)
  2. docs/ko/docs/deployment/docker.md

    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    COPY ./app /code/app
    
    # (6)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. 공식 파이썬 베이스 이미지에서 시작합니다.
    
    2. 현재 워킹 디렉터리를 `/code`로 설정합니다.
    
    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)
  3. docs/fr/docs/deployment/docker.md

    ## Cluster en mode Docker Swarm avec Traefik et HTTPS
    
    Vous pouvez avoir un cluster en mode Docker Swarm configuré en quelques minutes (environ 20 min) avec un processus Traefik principal gérant HTTPS (y compris l'acquisition et le renouvellement des certificats).
    
    En utilisant le mode Docker Swarm, vous pouvez commencer par un "cluster" d'une seule machine (il peut même s'agir
    Plain Text
    - Registered: Sun May 05 07:19:11 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
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Скопируйте непосредственно файл `main.py` в директорию `/code` (не указывайте `./app`).
    
    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/em/docs/deployment/docker.md

    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    COPY ./app /code/app
    
    # (6)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1️⃣. ▶️ ⚪️➡️ 🛂 🐍 🧢 🖼.
    
    2️⃣. ⚒ ⏮️ 👷 📁 `/code`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 27.9K bytes
    - Viewed (0)
  6. docs/ja/docs/deployment/docker.md

    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    COPY ./app /code/app
    
    # (6)
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. 公式のPythonベースイメージから始めます
    
    2. 現在の作業ディレクトリを `/code` に設定します
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 44.3K bytes
    - Viewed (0)
  7. docs/pt/docs/deployment/docker.md

    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Copie o arquivo `main.py` para o diretório `/code` diretamente (sem nenhum diretório `./app`).
    
    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)
  8. docs/en/docs/deployment/docker.md

    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. Copy the `main.py` file to the `/code` directory directly (without any `./app` directory).
    
    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)
  9. docs/de/docs/deployment/docker.md

        Da das Programm unter `/code` gestartet wird und sich darin das Verzeichnis `./app` mit Ihrem Code befindet, kann **Uvicorn** `app` sehen und aus `app.main` **importieren**.
    
    !!! tip "Tipp"
        Lernen Sie, was jede Zeile bewirkt, indem Sie auf die Zahlenblasen im Code klicken. 👆
    
    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)
Back to top