Skip to content

Commit

Permalink
Merge pull request #64 from nattvara/fix-build-issues
Browse files Browse the repository at this point in the history
Fix build issues
  • Loading branch information
nattvara authored Sep 9, 2023
2 parents 152bdf3 + 90f7958 commit 0d74c70
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand All @@ -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
7 changes: 6 additions & 1 deletion worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand All @@ -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
7 changes: 6 additions & 1 deletion worker/Dockerfile.gpu_accelerated
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand All @@ -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

Expand Down

0 comments on commit 0d74c70

Please sign in to comment.