solidprivacy-nl commited on
Commit
5851e0d
·
1 Parent(s): ea9010c

Run PDF text reinsert UI startup patch

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -27,7 +27,7 @@ RUN poetry install --no-root
27
 
28
  RUN pip install --upgrade "packaging>=24.2,<27"
29
 
30
- RUN pip install --no-cache-dir python-docx pymupdf reportlab
31
 
32
  # Set up a new user named "user" with user ID 1000
33
  RUN useradd -m -u 1000 user
@@ -43,4 +43,4 @@ WORKDIR $HOME/app
43
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
44
  COPY --chown=user . $HOME/app
45
 
46
- CMD ["sh", "-c", "python fix_streamlit_nested_expanders.py && streamlit run presidio_streamlit.py --server.port=7860 --server.address=0.0.0.0 --server.enableXsrfProtection=false --server.enableCORS=false"]
 
27
 
28
  RUN pip install --upgrade "packaging>=24.2,<27"
29
 
30
+ RUN pip install --no-cache-dir python-docx pymupdf reportlab pypdf
31
 
32
  # Set up a new user named "user" with user ID 1000
33
  RUN useradd -m -u 1000 user
 
43
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
44
  COPY --chown=user . $HOME/app
45
 
46
+ CMD ["sh", "-c", "python fix_streamlit_nested_expanders.py && python fix_streamlit_pdf_text_reinsert.py && streamlit run presidio_streamlit.py --server.port=7860 --server.address=0.0.0.0 --server.enableXsrfProtection=false --server.enableCORS=false"]