Created
September 22, 2023 11:16
-
-
Save vaibhavpandeyvpz/994fd49d6e095ee20c63f4d33981a4a3 to your computer and use it in GitHub Desktop.
Chromium's Docker image based on AlpineLinux
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
FROM alpine:3 | |
RUN apk update && apk upgrade | |
RUN apk add --no-cache chromium chromium-chromedriver | |
RUN mkdir -p /usr/src/app \ | |
&& adduser -D chromium \ | |
&& chown -R chromium:chromium /usr/src/app | |
USER chromium | |
WORKDIR /usr/src/app | |
CMD ["chromedriver", "--allowed-ips=", "--allowed-origins=*"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment