zwv9 commited on
Commit
dec831b
1 Parent(s): 8646038

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -7
Dockerfile CHANGED
@@ -5,14 +5,15 @@ RUN apt update && apt install -y git
5
  RUN git clone https://github.com/0zl/phr.git .
6
  RUN bash scripts/dependencies_no_browser.sh
7
 
8
- #RUN apt install -y curl
9
- #RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
10
- #RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
11
- #RUN rm google-chrome-stable_current_amd64.deb
12
- #RUN echo "Chrome: " && google-chrome --version
 
13
 
14
- RUN bunx puppeteer browsers install chrome
15
- ENV PUPPETEER_EXECUTABLE_PATH=/root/.cache/puppeteer/chrome/linux-119.0.6045.105/chrome-linux64/chrome
16
  RUN echo $PUPPETEER_EXECUTABLE_PATH
17
 
18
  RUN bun install
 
5
  RUN git clone https://github.com/0zl/phr.git .
6
  RUN bash scripts/dependencies_no_browser.sh
7
 
8
+ RUN apt install -y curl
9
+ RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
10
+ RUN apt-get install -y ./google-chrome-stable_current_amd64.deb
11
+ RUN rm google-chrome-stable_current_amd64.deb
12
+ RUN echo "Chrome: " && google-chrome --version
13
+ RUN which google-chrome
14
 
15
+ #RUN bunx puppeteer browsers install chrome
16
+ ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome
17
  RUN echo $PUPPETEER_EXECUTABLE_PATH
18
 
19
  RUN bun install