Initial commit

This commit is contained in:
David Frassi
2026-06-17 01:26:44 +02:00
commit 51c56a6f30
65 changed files with 3731 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
FROM python:3.11-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
ffmpeg \
libmagic1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Aggiungiamo src al PYTHONPATH così gli import funzionano da ovunque
ENV PYTHONPATH=/app/src
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application
COPY . .
# Expose port for Streamlit
EXPOSE 8501
# Avvio di Streamlit puntando alla nuova cartella src
CMD ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0"]