FROM python:3.9 # Imposta la directory di lavoro WORKDIR /app # Copia tutti i file COPY . /app # Installa le dipendenze RUN pip install --no-cache-dir -r requirements.txt # Espone la porta del server EXPOSE 7860 # Comando per avviare il server FastAPI CMD ["python", "app.py"]