abubasith86 commited on
Commit
fd72914
·
verified ·
1 Parent(s): 3c07f07

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -23,8 +23,12 @@ RUN mkdir -p /.EasyOCR && chmod -R 777 /.EasyOCR
23
  # Create Hugging Face cache directory
24
  RUN mkdir -p /.cache && chmod -R 777 /.cache
25
 
26
- # Run start-server.sh (already exists in backend directory)
27
- RUN chmod +x start-server.sh && ./start-server.sh
 
 
 
 
28
 
29
  # Run as root so that all cache dirs are writable
30
  USER root
 
23
  # Create Hugging Face cache directory
24
  RUN mkdir -p /.cache && chmod -R 777 /.cache
25
 
26
+ # Install Python requirements
27
+ RUN pip install -r requirements.txt
28
+
29
+ # Install Playwright dependencies and browsers
30
+ RUN playwright install-deps
31
+ RUN playwright install
32
 
33
  # Run as root so that all cache dirs are writable
34
  USER root