Akwbw commited on
Commit
d27eab3
Β·
verified Β·
1 Parent(s): bd25e50

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -2,17 +2,17 @@ FROM python:3.12-slim
2
 
3
  WORKDIR /app
4
 
5
- # Copy all files from repo root
6
  COPY . .
7
 
8
  # Upgrade pip
9
  RUN python -m pip install --upgrade pip
10
 
11
- # Install dependencies
12
  RUN pip install --no-cache-dir -r requirements.txt
 
 
13
  RUN playwright install chromium
14
 
15
  EXPOSE 5000
16
 
17
- # Run Flask from current root folder
18
  CMD ["python", "main.py"]
 
2
 
3
  WORKDIR /app
4
 
 
5
  COPY . .
6
 
7
  # Upgrade pip
8
  RUN python -m pip install --upgrade pip
9
 
10
+ # Install Python dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ # Install Chromium for Playwright
14
  RUN playwright install chromium
15
 
16
  EXPOSE 5000
17
 
 
18
  CMD ["python", "main.py"]