Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# ===============================
|
| 2 |
-
# 🐳 Dockerfile for Hugging Face Spaces - FastAPI +
|
| 3 |
# ===============================
|
| 4 |
|
| 5 |
FROM python:3.10-slim
|
|
@@ -20,6 +20,7 @@ COPY requirements.txt .
|
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
# ✅ Install Playwright Chromium
|
|
|
|
| 23 |
RUN playwright install --with-deps chromium
|
| 24 |
|
| 25 |
# Copy the rest of your app
|
|
|
|
| 1 |
# ===============================
|
| 2 |
+
# 🐳 Dockerfile for Hugging Face Spaces - FastAPI + Playwright
|
| 3 |
# ===============================
|
| 4 |
|
| 5 |
FROM python:3.10-slim
|
|
|
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
# ✅ Install Playwright Chromium
|
| 23 |
+
RUN pip install --no-cache-dir playwright
|
| 24 |
RUN playwright install --with-deps chromium
|
| 25 |
|
| 26 |
# Copy the rest of your app
|