File size: 443 Bytes
be5b880
 
 
 
faa8fee
be5b880
 
faa8fee
be5b880
 
 
 
faa8fee
be5b880
faa8fee
be5b880
4822cdd
be5b880
01a68f3
 
 
4822cdd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM python:3.9-slim

WORKDIR /app

# Installer dépendances système
RUN apt-get update && apt-get install -y \
    build-essential \
    ffmpeg \
    git \
    && rm -rf /var/lib/apt/lists/*

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 8501

RUN mkdir -p /app/.streamlit
ENV STREAMLIT_HOME=/app/.streamlit

CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]