Added JS runtime (Deno)
This commit is contained in:
+4
-1
@@ -2,7 +2,7 @@ FROM python:3.11
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y ffmpeg
|
RUN apt-get update && apt-get install -y ffmpeg curl
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
@@ -11,6 +11,9 @@ RUN pip install -r requirements.txt
|
|||||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||||
&& apt-get install -y nodejs
|
&& apt-get install -y nodejs
|
||||||
|
|
||||||
|
RUN curl -fsSL https://deno.land/install.sh | sh \
|
||||||
|
&& mv /root/.deno/bin/deno /usr/local/bin/deno
|
||||||
|
|
||||||
COPY app ./app
|
COPY app ./app
|
||||||
RUN mkdir downloads
|
RUN mkdir downloads
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user