File size: 518 Bytes
6c06de9
 
cff2530
 
 
 
69d9b56
 
 
cff2530
 
 
 
69d9b56
cff2530
 
69d9b56
cff2530
 
69d9b56
cff2530
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.10-slim

# System deps for bitsandbytes
RUN apt-get update \
    && apt-get install -y git-lfs libgomp1 \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /app

# Install Python deps
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip \
    && pip install --no-cache-dir -r requirements.txt

# Copy the app
COPY . .

# Streamlit will read $PORT from the environment
ENV PORT=7860

CMD ["bash", "-c", "streamlit run app.py --server.port $PORT --server.enableCORS false --server.headless true"]