- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for unele (0.17 sec)
-
docs/pt/docs/deployment.md
EXPOSE 80 COPY ./app /app CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] ``` ### Crie o código **FastAPI** * Crie um diretório `app` e entre nele. * Crie um arquivo `main.py` com: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Aug 18 16:16:54 GMT 2022 - 16.8K bytes - Viewed (0)