File size: 352 Bytes
7bb308f
 
fae70a1
7bb308f
 
 
 
 
4f18aee
7bb308f
3484eb9
 
7bb308f
 
 
 
 
 
 
 
 
 
4ac3f79
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.10

EXPOSE 8501

USER root

WORKDIR /app

COPY . .

RUN chmod -R 777 /app

RUN apt-get update && \
    apt-get install -y python3-pip python3-venv

RUN python3 -m venv /app/venv

ENV PATH="/app/venv/bin:$PATH"

RUN pip install --upgrade pip && \
    pip install --no-cache-dir --upgrade -r /app/requirements.txt

CMD streamlit run main.py