Skip to content

Browser context error #443

Open
Open
@suryabhosaleoptimeleon

Description

Getting this error when trying to run the docker image:
Screenshot 2025-01-13 at 01 11 32

My docker file is:
FROM python:3.10-slim

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

WORKDIR /code

ENV POETRY_VIRTUALENVS_CREATE=false

RUN apt -y update && apt -y upgrade &&
apt -y install gcc libc-dev libgl1 libglib2.0-0

RUN apt-get update &&
apt-get install -y wget gnupg &&
apt-get clean &&
rm -rf /var/lib/apt/lists/*

RUN pip install poetry
COPY pyproject.toml poetry.lock /code/
RUN poetry install --no-cache --no-interaction --no-ansi

COPY . /code/
ENV PORT=8080
EXPOSE 8080

ENV PYTHONPATH=/code
RUN playwright install chromium

CMD ["python", "app/crawl.py"]

I am sure I am going terribly wrong somewhere. My crawl4ai version is: crawl4ai = "^0.4.23"

Metadata

Assignees

No one assigned

    Labels

    Projects

    • Status

      To Assign

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions