bpandey23 commited on
Commit
048e3aa
·
verified ·
1 Parent(s): 2a3f1a5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +26 -24
Dockerfile CHANGED
@@ -1,31 +1,33 @@
1
  FROM ubuntu:22.04
2
 
3
- # Install necessary packages
4
- RUN apt-get update && apt-get install -y \
5
- curl \
6
- wget \
7
- unzip \
8
- git \
9
- python3-pip \
10
- libmagic-dev \
11
- lsb-release \
12
- lsof \
13
- software-properties-common
14
-
15
- # Add the PostgreSQL repository
16
- RUN apt-get install -y gnupg
17
- RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
18
- RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
19
-
20
- # Install PostgreSQL 16 client
21
- RUN apt-get update && apt-get install -y postgresql-client-16
 
 
22
 
23
  # Install Python dependencies
24
- RUN cd postgres && pip install -r requirements.txt
25
 
26
- # Expose ports
27
- EXPOSE 8501
28
 
29
- WORKDIR postgres
30
 
31
- CMD ["python3", "-m", "streamlit", "run", "app.py"]
 
1
  FROM ubuntu:22.04
2
 
3
+ # # Install necessary packages
4
+ # RUN apt-get update && apt-get install -y \
5
+ # curl \
6
+ # wget \
7
+ # unzip \
8
+ # git \
9
+ # python3-pip \
10
+ # libmagic-dev \
11
+ # lsb-release \
12
+ # lsof \
13
+ # software-properties-common
14
+
15
+ # # Add the PostgreSQL repository
16
+ # RUN apt-get install -y gnupg
17
+ # RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
18
+ # RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
19
+
20
+ # # Install PostgreSQL 16 client
21
+ # RUN apt-get update && apt-get install -y postgresql-client-16
22
+
23
+ run pwd
24
 
25
  # Install Python dependencies
26
+ # RUN cd postgres && pip install -r requirements.txt
27
 
28
+ # # Expose ports
29
+ # EXPOSE 8501
30
 
31
+ # WORKDIR postgres
32
 
33
+ # CMD ["python3", "-m", "streamlit", "run", "app.py"]