Cant find Chrome binary

Hi, I’m currently developing a project to parsing my university’s website and I’m having trouble running python code on render. I am using selenium and flask(I will attach the code and dockerfile below). I couldn’t find a solution on the internet and maybe someone has developed a similar project and can share the repository so I can understand how to solve my problem.

code:

from flask import Flask, jsonify, request
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager
import threading
import time
import uuid

app = Flask(name)

drivers

drivers = {}
lock = threading.Lock()

def init_driver():
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument(“–headless”)
chrome_options.add_argument(“–disable-gpu”)
chrome_options.add_argument(“–no-sandbox”)
chrome_options.add_argument(“–disable-dev-shm-usage”)
service = Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=service, options=chrome_options)
driver.get(“link to my uni website”)
return driver

//other logic

docker:

FROM python:3.10
RUN apt-get update && apt-get install -y google-chrome-stable
RUN pip install --upgrade pip
COPY . /app
WORKDIR /app
CMD [“gunicorn”, “app:app”, “–bind”, “0.0.0.0:5000”]

I found solution, there is: https://community.render.com/t/chromedriver-is-assuming-that-chrome-has-crashed/13237/7