internationalscholarsprogram commited on
Commit
39f60ed
·
1 Parent(s): 6558c53

fix: remove redundant playwright install-deps, exclude PDFs from docker context

Browse files
Files changed (2) hide show
  1. .dockerignore +5 -0
  2. Dockerfile +2 -2
.dockerignore CHANGED
@@ -10,3 +10,8 @@ dist/
10
  .mypy_cache/
11
  tests/
12
  *.md
 
 
 
 
 
 
10
  .mypy_cache/
11
  tests/
12
  *.md
13
+ *.pdf
14
+ app/handbook_pdf/
15
+ app/__pycache__/
16
+ images/*.pdf
17
+ *.md
Dockerfile CHANGED
@@ -35,8 +35,8 @@ RUN pip install --no-cache-dir -r requirements.txt
35
  # Set browser path BEFORE install so Playwright puts browsers here
36
  ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
37
 
38
- # Install Playwright Chromium browser (single layer)
39
- RUN playwright install --with-deps chromium
40
 
41
  # Copy application code
42
  COPY app/ ./app/
 
35
  # Set browser path BEFORE install so Playwright puts browsers here
36
  ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
37
 
38
+ # Install Playwright Chromium browser only (system deps already installed above)
39
+ RUN playwright install chromium
40
 
41
  # Copy application code
42
  COPY app/ ./app/