title: flask_1 | WebDriverException: Message: 'chromedriver' executable needs to be in PATH
body: <h1>Steps I followed build using docker-compose</h1>
  <p>I setup python robot framework with flask based application</p>
  <h2>I created Dockerfile</h2>
  <h3>DockerFile</h3>
  <p>FROM alpine:latest
  COPY . /app
  WORKDIR /app
  RUN ls -la /
  RUN apk add --no-cache sqlite py3-pip
  RUN pip3 install -r requirements.txt
  ENV FLASK_PORT 8181
  ENV FLASK_APP demo_app
  CMD [&quot;sh&quot;, &quot;run.sh&quot;]
  COPY testing/ui/config/ /app/tests/config/
  COPY testing/ui/pages/ /app/tests/pages/
  COPY testing/ui/steps/ /app/tests/steps/
  COPY testing/ui/test_data/ /app/tests/test_data/
  COPY testing/ui/tests/ /app/tests/tests/
  COPY testing/ui/test_suites/ /app/tests/test_suites/
  RUN ls -la /
  WORKDIR /app/tests/test_suites/
  CMD [&quot;sh&quot;,&quot;run_ui_negative_tests.sh&quot;]</p>
  <h1>I created docker-compose file</h1>
  <p>version: '3'
  services:
  flask:
  hostname: demoapp
  image: demoapp:0.0.1
  build:
  context: .
  dockerfile: ./Dockerfile</p>
  <pre><code>links:
    - chrome
  tty: true
  </code></pre>
  <p>chrome:
  image: selenium/node-chrome:4.0.0-alpha-7-prerelease-20201009
  volumes:
  - /dev/shm:/dev/shm
  depends_on:
  - selenium-hub
  environment:
  - SE_EVENT_BUS_HOST=selenium-hub
  - SE_EVENT_BUS_PUBLISH_PORT=4442
  - SE_EVENT_BUS_SUBSCRIBE_PORT=4443
  ports:
  - &quot;5900:5900&quot;</p>
  <p>selenium-hub:
  image: selenium/hub:4.0.0-alpha-7-prerelease-20201009
  container_name: selenium-hub
  ports:
  - &quot;4442:4442&quot;</p>
  <h1>Error I got</h1>
  <p>WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see <a href="https://sites.google.com/a/chromium.org/chromedriver/home" rel="nofollow noreferrer">https://sites.google.com/a/chromium.org/chromedriver/home</a>
  h</p>