Coding task · Python course · Module 6: Async and FastAPI
Production Dockerfile
Write a Dockerfile for the Safari API application.
Task
Create a Dockerfile: python:3.11-slim image, WORKDIR /app, copy and install requirements.txt, copy the code, run uvicorn main:app on 0.0.0.0:8000.