File size: 571 Bytes
b1f96e0
 
a3b9c81
b1f96e0
a3b9c81
 
b1f96e0
 
 
 
 
a3b9c81
b1f96e0
 
a3b9c81
b1f96e0
 
 
a3b9c81
b1f96e0
84fca1d
a3b9c81
b1f96e0
072aa99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ---- base image: must be >=3.11 for verifiers ------------------------------
FROM python:3.11-slim

ENV PIP_NO_CACHE_DIR=1
WORKDIR /app

# system deps
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        build-essential git curl && \
    rm -rf /var/lib/apt/lists/*

# fast dependency manager that you like
RUN pip install uv

# deps
COPY requirements.txt .
RUN uv pip install --system -r requirements.txt

# app
COPY src/ ./src/

EXPOSE 7860
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]