File size: 1,064 Bytes
191195c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM python:3.9-slim-bullseye

# install packages
RUN set -x && \
    apt-get update -y && \
    apt-get upgrade -y && \
    apt install -y --no-install-recommends \
        git\
        wget\
        build-essential \
        apt-utils \
        ca-certificates \
        curl \
        software-properties-common \
        libopencv-dev \ 
        python3-dev \
        python3-pip \ 
        python3-setuptools \
        python3-venv \
        cmake \
        swig \
        wget \
        unzip \
        screen \
        nano \
        lxc \
        iptables \
        ca-certificates \
        libfftw3-dev \
        expat \
        libgomp1 

COPY . /app

WORKDIR /app

#Install necessary packages from requirements.txt with no cache dir allowing for installation on machine with very little memory on board
RUN pip install --upgrade pip
RUN pip --no-cache-dir install -r requirements.txt

#Exposing the default streamlit port
EXPOSE 8501

#Running the streamlit app
# ENTRYPOINT ["streamlit", "run", "--server.maxUploadSize=5"]
# CMD ["System_Overview.py"]