FROM python:3.10-slim # Set up a working directory WORKDIR /app # Copy files COPY requirements.txt ./ COPY nyc_taxi_app.py ./ # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Run the application CMD ["python", "nyc_taxi_app.py"]