drewThomasson commited on
Commit
c7873bf
·
verified ·
1 Parent(s): 6db91f9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -24,6 +24,9 @@ RUN wget https://bootstrap.pypa.io/get-pip.py && \
24
  rm get-pip.py && \
25
  pip install --no-cache-dir --upgrade pip setuptools wheel
26
 
 
 
 
27
  # Create and switch to a non-root user
28
  RUN useradd -m -u 1000 user
29
  USER user
@@ -35,7 +38,7 @@ WORKDIR /home/user/app
35
  # Clone the GitHub repository
36
  RUN git clone https://github.com/DrewThomasson/ebook2audiobook.git /home/user/app
37
 
38
- # Install Python dependencies with isolated builds
39
  RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
40
  pip install --no-cache-dir --use-pep517 -r requirements.txt
41
 
 
24
  rm get-pip.py && \
25
  pip install --no-cache-dir --upgrade pip setuptools wheel
26
 
27
+ # Explicitly install regex
28
+ RUN pip install --no-cache-dir regex --force-reinstall
29
+
30
  # Create and switch to a non-root user
31
  RUN useradd -m -u 1000 user
32
  USER user
 
38
  # Clone the GitHub repository
39
  RUN git clone https://github.com/DrewThomasson/ebook2audiobook.git /home/user/app
40
 
41
+ # Install Python dependencies
42
  RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
43
  pip install --no-cache-dir --use-pep517 -r requirements.txt
44