Update Dockerfile
Browse files- 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 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
13 |
|
14 |
-
RUN bunx puppeteer browsers install chrome
|
15 |
-
ENV PUPPETEER_EXECUTABLE_PATH=/
|
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
|