Reaperxxxx commited on
Commit
c8faff3
·
verified ·
1 Parent(s): 59033e3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use a Node.js base image
2
- FROM node:16
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 npx install chromium
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)"