pragneshbarik commited on
Commit
aa1bd47
1 Parent(s): b615916

configured Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +22 -0
  2. requirements.txt +0 -1
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ build-essential \
7
+ curl \
8
+ software-properties-common \
9
+ git \
10
+ && rm -rf /var/lib/apt/lists/*
11
+
12
+ COPY components /app/
13
+ COPY middlewares /app/
14
+ COPY app.py /app/
15
+ COPY requirements.txt /app/
16
+ COPY config.yaml /app/
17
+
18
+ RUN pip3 install -r requirements.txt
19
+
20
+ EXPOSE 8501
21
+
22
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
requirements.txt CHANGED
@@ -45,7 +45,6 @@ pandas==2.1.1
45
  parso==0.8.3
46
  pickleshare==0.7.5
47
  Pillow==10.0.1
48
- pinecone-client==2.2.4
49
  platformdirs==3.8.0
50
  prompt-toolkit==3.0.38
51
  protobuf==4.24.4
 
45
  parso==0.8.3
46
  pickleshare==0.7.5
47
  Pillow==10.0.1
 
48
  platformdirs==3.8.0
49
  prompt-toolkit==3.0.38
50
  protobuf==4.24.4