Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 392 (0.03 sec)

  1. docs/ru/docs/deployment/docker.md

        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)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    COPY ./app /code/app
    
    # (6)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top