I got it working!
Chromium was a real pain in the ass. I am using google instead. Even though chromium is lightweight. I think I will stick to google chrome for a while. Here is the dockerfile
# Base image
FROM python:3.8.2
# Set the working directory in the container
WORKDIR /app
# Copy the project files to the container
COPY . .
# downloading chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
RUN apt-get update && apt-get install -y google-chrome-stable
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt