pseudotheos commited on
Commit
6cfbd2a
1 Parent(s): ca26ae2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -2
Dockerfile CHANGED
@@ -7,8 +7,20 @@ WORKDIR /app
7
  # Create a non-root user
8
  RUN useradd -m appuser
9
 
10
- # Install system dependencies
11
- RUN apt-get update && apt-get install -y git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  # Copy the requirements file into the container at /app
14
  COPY ./requirements.txt /app/
 
7
  # Create a non-root user
8
  RUN useradd -m appuser
9
 
10
+ # Set noninteractive mode to skip prompts
11
+ ENV DEBIAN_FRONTEND=noninteractive
12
+
13
+ # Install system dependencies (skipping tzdata prompts)
14
+ RUN apt-get update && apt-get install -y --no-install-recommends \
15
+ git \
16
+ libsndfile1-dev \
17
+ tesseract-ocr \
18
+ espeak-ng \
19
+ python3 \
20
+ python3-pip \
21
+ ffmpeg \
22
+ && apt-get clean \
23
+ && rm -rf /var/lib/apt/lists/*
24
 
25
  # Copy the requirements file into the container at /app
26
  COPY ./requirements.txt /app/