- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Crick (0.34 sec)
-
docs/de/docs/deployment/docker.md
```Dockerfile CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"] ``` #### Docker-Cache In diesem `Dockerfile` gibt es einen wichtigen Trick: Wir kopieren zuerst die **Datei nur mit den Abhängigkeiten**, nicht den Rest des Codes. Lassen Sie mich Ihnen erklären, warum. ```Dockerfile COPY ./requirements.txt /code/requirements.txt ```
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) -
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)