Add Deno to Dockerfile

This commit is contained in:
Peter Upfold
2026-04-13 18:19:23 +01:00
parent 792838f1a1
commit 12d9c469b2

View File

@@ -12,7 +12,7 @@ ARG TARGETARCH
# Installing system dependencies # Installing system dependencies
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends gcc ffmpeg fonts-noto exiftool python3-tk apt-get install -y --no-install-recommends gcc ffmpeg fonts-noto exiftool python3-tk curl unzip
# Poetry and runtime # Poetry and runtime
FROM base AS runtime FROM base AS runtime
@@ -27,6 +27,9 @@ RUN python3 -m venv /poetry-venv && \
/poetry-venv/bin/python -m pip install --upgrade pip && \ /poetry-venv/bin/python -m pip install --upgrade pip && \
/poetry-venv/bin/python -m pip install "poetry>=2.0.0,<3.0.0" /poetry-venv/bin/python -m pip install "poetry>=2.0.0,<3.0.0"
# Add Deno for solving YT JS challenges
RUN curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr sh
WORKDIR /app WORKDIR /app