Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use a Node.js base image
|
| 2 |
-
FROM node:
|
| 3 |
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
|
@@ -11,7 +11,7 @@ COPY package*.json ./
|
|
| 11 |
RUN npm install
|
| 12 |
|
| 13 |
# Install Chromium
|
| 14 |
-
RUN
|
| 15 |
|
| 16 |
# Log the path of the installed Chromium
|
| 17 |
RUN echo "Chromium path: $(npm explore chromium -- npm bin)"
|
|
|
|
| 1 |
# Use a Node.js base image
|
| 2 |
+
FROM node:18
|
| 3 |
|
| 4 |
# Set working directory
|
| 5 |
WORKDIR /app
|
|
|
|
| 11 |
RUN npm install
|
| 12 |
|
| 13 |
# Install Chromium
|
| 14 |
+
RUN npm install chromium
|
| 15 |
|
| 16 |
# Log the path of the installed Chromium
|
| 17 |
RUN echo "Chromium path: $(npm explore chromium -- npm bin)"
|