Add needed package

This commit is contained in:
2024-01-21 11:58:21 +08:00
parent 204ad30c04
commit a14a40edb4

View File

@@ -22,6 +22,11 @@ COPY ./deno.json ./
COPY ./import_map.json ./
COPY ./LICENSE ./
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
RUN deno task fetch && deno task server-build && mkdir -p ./thumbnails && chmod 777 ./thumbnails && mkdir -p ./downloads && chmod 777 ./downloads
ENV DENO_DEPLOYMENT_ID=${DENO_DEPLOYMENT_ID}