Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -47,10 +47,10 @@ RUN ls -la
|
|
| 47 |
#RUN source .venv/bin/activate
|
| 48 |
|
| 49 |
# Install Python dependencies and the Chromium browser with Playwright within the venv.
|
| 50 |
-
RUN .venv/bin/pip install uv playwright
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
|
| 55 |
# Expose the default port for the web application.
|
| 56 |
EXPOSE 7860
|
|
|
|
| 47 |
#RUN source .venv/bin/activate
|
| 48 |
|
| 49 |
# Install Python dependencies and the Chromium browser with Playwright within the venv.
|
| 50 |
+
RUN .venv/bin/pip install uv playwright
|
| 51 |
+
|
| 52 |
+
RUN .venv/bin/uv pip install -r requirements.txt \
|
| 53 |
+
&& .venv/bin/playwright install --with-deps chromium
|
| 54 |
|
| 55 |
# Expose the default port for the web application.
|
| 56 |
EXPOSE 7860
|