diff --git a/api/Dockerfile b/api/Dockerfile index 468ab84..a43a9fe 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -19,8 +19,12 @@ RUN apt-get update && apt-get install -y \ libgtk-3-0 \ libdbus-glib-1-2 \ libnss3 \ + libpq-dev \ libxss1 \ libasound2 \ + build-essential \ + rustc \ + cargo \ ffmpeg \ gunicorn \ && apt-get clean && rm -rf /var/lib/apt/lists/* @@ -38,9 +42,10 @@ COPY setup.py . COPY requirements.txt . # install pyhton dependencies +RUN pip install --upgrade pip setuptools wheel RUN pip install -r requirements.txt # install playwright and dependencies -RUN python setup.py install +RUN python3 setup.py install RUN playwright install RUN playwright install-deps diff --git a/worker/Dockerfile b/worker/Dockerfile index 468ab84..a43a9fe 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -19,8 +19,12 @@ RUN apt-get update && apt-get install -y \ libgtk-3-0 \ libdbus-glib-1-2 \ libnss3 \ + libpq-dev \ libxss1 \ libasound2 \ + build-essential \ + rustc \ + cargo \ ffmpeg \ gunicorn \ && apt-get clean && rm -rf /var/lib/apt/lists/* @@ -38,9 +42,10 @@ COPY setup.py . COPY requirements.txt . # install pyhton dependencies +RUN pip install --upgrade pip setuptools wheel RUN pip install -r requirements.txt # install playwright and dependencies -RUN python setup.py install +RUN python3 setup.py install RUN playwright install RUN playwright install-deps diff --git a/worker/Dockerfile.gpu_accelerated b/worker/Dockerfile.gpu_accelerated index 5b806c1..ce2afc7 100644 --- a/worker/Dockerfile.gpu_accelerated +++ b/worker/Dockerfile.gpu_accelerated @@ -19,8 +19,12 @@ RUN apt-get update && apt-get install -y \ libgtk-3-0 \ libdbus-glib-1-2 \ libnss3 \ + libpq-dev \ libxss1 \ libasound2 \ + build-essential \ + rustc \ + cargo \ ffmpeg \ gunicorn \ && apt-get clean && rm -rf /var/lib/apt/lists/* @@ -38,10 +42,11 @@ COPY setup.py . COPY requirements.txt . # install pyhton dependencies +RUN pip install --upgrade pip setuptools wheel RUN pip install -r requirements.txt # install playwright and dependencies -RUN python setup.py install +RUN python3 setup.py install RUN playwright install RUN playwright install-deps