File size: 437 Bytes
ca2fc92
 
73c8f0e
 
 
ca2fc92
 
fd12ebe
ca2fc92
73c8f0e
 
 
ca2fc92
 
 
73c8f0e
ca2fc92
73c8f0e
fd12ebe
 
73c8f0e
fd12ebe
73c8f0e
ca2fc92
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Dockerfile
FROM python:3.11-slim

WORKDIR /app

ENV DEBIAN_FRONTEND=noninteractive

# (optionnel) quelques deps système
RUN apt-get update && apt-get install -y --no-install-recommends \
    git \
    && rm -rf /var/lib/apt/lists/*

COPY requirements.txt .

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

COPY . .

# Hugging Face lira app_port: 8501, donc on écoute sur 8501
ENV PORT=8501

EXPOSE 8501

CMD ["bash", "start.sh"]