Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Maloney (0.15 sec)

  1. docs/en/docs/fastapi-cli.md

    By default it will listen on the IP address `127.0.0.1`, which is the IP for your machine to communicate with itself alone (`localhost`).
    
    ## `fastapi run`
    
    When you run `fastapi run`, it will run on production mode by default.
    
    It will have **auto-reload disabled** by default.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/docker.md

    ```Dockerfile
    CMD ["fastapi", "run", "app/main.py", "--proxy-headers", "--port", "80"]
    ```
    
    #### Docker Cache
    
    There's an important trick in this `Dockerfile`, we first copy the **file with the dependencies alone**, not the rest of the code. Let me tell you why is that.
    
    ```Dockerfile
    COPY ./requirements.txt /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