Samizie commited on
Commit
7f42a56
·
verified ·
1 Parent(s): 6724f75

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -9,11 +9,12 @@ RUN pip install --no-cache-dir -r requirements.txt
9
 
10
  # Install Playwright and Browsers
11
  #RUN playwright install --force
12
- RUN playwright install chromium
13
 
14
  # Copy app files
15
  COPY . /app
16
  WORKDIR /app
 
17
 
18
  # Run the app
19
- CMD ["streamlit", "run", "app.py"]
 
9
 
10
  # Install Playwright and Browsers
11
  #RUN playwright install --force
12
+ RUN pip install playwright && playwright install --with-deps chromium
13
 
14
  # Copy app files
15
  COPY . /app
16
  WORKDIR /app
17
+ RUN chmod -R 755 /app
18
 
19
  # Run the app
20
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]