FROM selenium/standalone-chrome:108.0 AS final

COPY undetectedChromedriver/chromedriver-linux /bin/chromedriver
RUN mkdir -p /home/seluser/profile/

ENV TZ=Europe/Brussels

HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -s http://localhost:4444/wd/hub/status | jq -e '.value.ready == true' || exit 1


