Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
-
# Use
|
| 2 |
-
FROM mcr.microsoft.com/playwright/python:v1.
|
| 3 |
|
| 4 |
-
# Install Node.js and npm
|
|
|
|
| 5 |
RUN apt-get update && apt-get install -y nodejs npm
|
| 6 |
|
| 7 |
# Set the working directory inside the container
|
|
|
|
| 1 |
+
# Use a stable, production-ready Playwright image
|
| 2 |
+
FROM mcr.microsoft.com/playwright/python:v1.44.0
|
| 3 |
|
| 4 |
+
# Install Node.js and npm
|
| 5 |
+
# This step is required because the base image doesn't include them
|
| 6 |
RUN apt-get update && apt-get install -y nodejs npm
|
| 7 |
|
| 8 |
# Set the working directory inside the container
|