-
-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: Use external chrome docker container
- Loading branch information
1 parent
f8bc4dd
commit 4ab0815
Showing
8 changed files
with
61 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
FROM node:21-alpine | ||
|
||
RUN apk add --no-cache libc6-compat chromium runuser make g++ py3-pip linux-headers | ||
RUN apk add --no-cache libc6-compat make g++ py3-pip linux-headers | ||
ENV PUPPETEER_SKIP_DOWNLOAD true | ||
ENV CHROME_PATH "/usr/bin/chromium-browser" | ||
ENV BROWSER_EXECUTABLE_PATH "/bin/start-chrome.sh" | ||
ENV BROWSER_USER_DATA_DIR="/tmp/chrome" | ||
|
||
WORKDIR /app | ||
ADD start-chrome.sh /bin | ||
RUN chmod +x /bin/start-chrome.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters