CHORE: Added Python and Playwright dependencies to Dockerfile
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -8,6 +8,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
# - sbcl: The Lisp Runtime
|
# - sbcl: The Lisp Runtime
|
||||||
# - curl/git/unzip: Standard tools for Quicklisp and binaries
|
# - curl/git/unzip: Standard tools for Quicklisp and binaries
|
||||||
# - default-jre: Required by signal-cli
|
# - default-jre: Required by signal-cli
|
||||||
|
# - python3/pip: Required for Playwright bridge
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
sbcl \
|
sbcl \
|
||||||
curl \
|
curl \
|
||||||
@@ -15,8 +16,17 @@ RUN apt-get update && apt-get install -y \
|
|||||||
unzip \
|
unzip \
|
||||||
default-jre \
|
default-jre \
|
||||||
libsqlite3-0 \
|
libsqlite3-0 \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-venv \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# 2. Setup Playwright (High-Fidelity Browsing)
|
||||||
|
RUN python3 -m venv /opt/venv
|
||||||
|
ENV PATH="/opt/venv/bin:$PATH"
|
||||||
|
RUN pip install playwright \
|
||||||
|
&& playwright install --with-deps chromium
|
||||||
|
|
||||||
# 2. Install signal-cli (v0.14.0)
|
# 2. Install signal-cli (v0.14.0)
|
||||||
ENV SIGNAL_CLI_VERSION=0.14.0
|
ENV SIGNAL_CLI_VERSION=0.14.0
|
||||||
RUN curl -L https://github.com/AsamK/signal-cli/releases/download/v${SIGNAL_CLI_VERSION}/signal-cli-${SIGNAL_CLI_VERSION}-Linux.tar.gz | tar xz -C /opt \
|
RUN curl -L https://github.com/AsamK/signal-cli/releases/download/v${SIGNAL_CLI_VERSION}/signal-cli-${SIGNAL_CLI_VERSION}-Linux.tar.gz | tar xz -C /opt \
|
||||||
|
|||||||
Reference in New Issue
Block a user