- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for 1003 (0.19 sec)
-
docs/en/docs/release-notes.md
* Add support for `.websocket_route()` in `APIRouter`. PR [#100](https://github.com/tiangolo/fastapi/pull/100) by [@euri10](https://github.com/euri10).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
docs/zh/docs/deployment/docker.md
如果你的 FastAPI 是单个文件,例如没有`./app`目录的`main.py`,则你的文件结构可能如下所示: ``` . ├── Dockerfile ├── main.py └── requirements.txt ``` 然后你只需更改相应的路径即可将文件复制到`Dockerfile`中: ```{ .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)
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)