From 74e9101beb74bd3b64a4a03f748dfb5512acaf6f Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sun, 21 Jan 2024 21:09:31 +0800 Subject: [PATCH] Fix permissions error --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2fa00eb..b54014b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -88,10 +88,10 @@ COPY ./LICENSE ./ ENV LD_LIBRARY_PATH=/app/lib ENV PATH=/app/bin:$PATH +RUN deno task fetch && deno task server-build && mkdir -p ./thumbnails && chmod 777 ./thumbnails && mkdir -p ./downloads && chmod 777 ./downloads && mkdir -p ./data && chmod 777 ./data && chmod 777 /deno-dir ENV DENO_DEPLOYMENT_ID=${DENO_DEPLOYMENT_ID} ENV DOCKER=true ENV DB_USE_FFI=true -RUN deno task fetch && deno task server-build && mkdir -p ./thumbnails && chmod 777 ./thumbnails && mkdir -p ./downloads && chmod 777 ./downloads && mkdir -p ./data && chmod 777 ./data EXPOSE 8000 ENTRYPOINT ["/tini", "--", "deno", "task", "server"]