Need help with google chrome and chrome driver installation on AWS Ubuntu

Hello, first of all, I am not good at all with docker, so please be understanding.
I am running python application on AWS Ubuntu 20.04 with dockerfile and docker-compose.yml
I need to make google chrome and chromedriver work with my app, so they have to be installed, and being able to detect by app (added to PATH i guess).
Everything i tried is getting error…

My Dockerfile:

FROM python:latest

WORKDIR /src
COPY requirements.txt /src
RUN pip install -r requirements.txt
COPY . /src

My docker-compose:

version: '3.1'

services:

  tgbot:
    container_name: bot
    build:
      context: .
    command: python app.py
    restart: always
    environment:
      WEBAPP_PORT: 3001
    env_file:
      - ".env"
    ports:
      - 8443:3001
    networks:
      - botnet
    volumes:
      - ./:/src

networks:
      botnet:
        driver: bridge

Adding this to Dockerfile: RUN apt-get install -y google-chrome-stable
gives error: The command ‘/bin/sh -c apt-get install -y google-chrome-stable’ returned a non-zero code: 100 If i add sudo before apt → code 127