File size: 630 Bytes
dd1c000
 
9647270
dd1c000
 
 
 
 
 
 
 
 
 
 
9647270
dd1c000
 
 
 
 
 
 
 
d86b156
dd1c000
 
d86b156
9647270
dd1c000
9647270
dd1c000
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
#FROM ubuntu:22.04
FROM ubuntu:22.04

# Install necessary packages  
RUN apt-get update && apt-get install -y \  
    curl \
    wget \
    unzip \
    git \
    python3-pip \
    libmagic-dev \
    lsb-release \
    lsof \
    postgresql \

#NEEDED FOR POSTGRES16
RUN curl -fsSL --insecure https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
 
RUN apt-get update && apt-get install -y postgresql-client-16
  
  
# Install Python dependencies - FOR  
RUN pip3 install -r requirements.txt

# Expose ports  
EXPOSE 8501


WORKDIR postgres

RUN python3 -m streamlit run app.py