File size: 495 Bytes
dbaa71b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.10-slim-bullseye

WORKDIR /home/user

RUN apt-get update && apt-get install -y --no-install-recommends curl pkg-config cmake git g++ \
    && apt-get clean autoclean && apt-get autoremove -y \
    && rm -rf /var/lib/{apt,dpkg,cache,log}/

COPY ui.py /home/user/
COPY utils.py /home/user/
COPY config.yaml /home/user/
COPY requirements.txt /home/user/

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

EXPOSE 8501

CMD ["streamlit", "run", "ui.py"]