Skip to content

Commit

Permalink
add dockerdfile
Browse files Browse the repository at this point in the history
  • Loading branch information
esolitos committed Dec 6, 2023
1 parent d12339e commit 633f8cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name: Build Docker Container
on:
push:
branches:
- main
branches: ['*']
# - main

env:
REGISTRY: docker.io
Expand Down
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM zenika/alpine-chrome:73
ARG BASE_IMAGE_TAG=latest
FROM zenika/alpine-chrome:${BASE_IMAGE_TAG}

LABEL maintainer="eiriksm <[email protected]>"
USER root
RUN mkdir -p mkdir /var/cache/apk && apk add --update chromium-chromedriver
ENTRYPOINT ["chromedriver", "--port=8643", "--url-base=wd/hub", "--headless", "--no-sandbox", "--whitelisted-ips="]
EXPOSE 8643
LABEL description="Chrome driver for selenium testing"

EXPOSE 8643
ENTRYPOINT ["chromedriver", "--allowed-ips=","--allowed-origins=*", "--port=8643", "--url-base=wd/hub", "--headless", "--no-sandbox", "--whitelisted-ips="]

0 comments on commit 633f8cf

Please sign in to comment.