Question · Python course · Module 6: Async and FastAPI
Dockerfile FastAPI
What should a Dockerfile for a FastAPI application contain?
Answer options
- Only the main.py file
- Dependency installation, code copying, and the uvicorn command
- Only the database configuration
- Only unit tests
You can check the correct answer by solving this task in the CodeWorlds game.