mercybabs commited on
Commit
cf7ce59
·
1 Parent(s): b5bf39b

Add docker compose to Streamlit app

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -11
Dockerfile CHANGED
@@ -11,20 +11,10 @@ COPY . /app
11
  RUN apt-get update && apt-get install -y \
12
  poppler-utils \
13
  tesseract-ocr \
14
- ibgl1-mesa-glx \
15
  postgresql postgresql-client \
16
  && rm -rf /var/lib/apt/lists/*
17
 
18
- # Install Redis
19
- RUN curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg && \
20
- echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | \
21
- tee /etc/apt/sources.list.d/redis.list && \
22
- apt-get update && \
23
- apt-get install -y redis-stack-server
24
-
25
- # Start PostgreSQL and Redis
26
- RUN service postgresql start && \
27
- redis-stack-server --daemonize yes
28
 
29
  # Install Python dependencies
30
  RUN pip install --no-cache-dir -r requirements.txt
 
11
  RUN apt-get update && apt-get install -y \
12
  poppler-utils \
13
  tesseract-ocr \
14
+ libgl1-mesa-glx \
15
  postgresql postgresql-client \
16
  && rm -rf /var/lib/apt/lists/*
17
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  # Install Python dependencies
20
  RUN pip install --no-cache-dir -r requirements.txt