Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. docs/en/docs/deployment/docker.md

        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile { #dockerfile }
    
    Now in the same project directory create a file `Dockerfile` with:
    
    ```{ .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
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 29.5K bytes
    - Viewed (1)
Back to top