diff --git a/README.md b/README.md index a8c1f4f..d17dc84 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ This next major version release 4.0 is ddrive written from scratch. It comes wit - Added support for `rename` files/folders. - Added support to `move` file/folder (Only via API, Not sure how to do it with frontend, PR welcomes.) - Now uses `webhooks` instead of `bot/user tokens` to bypass the discord rate limit -- DDrive now uploads file chunks in parallel with limit. Which significantly increase the upload speed. I was able to upload file with 5GB of size in just 85 seconds. +- DDrive now uploads file chunks in parallel with limit. Which significantly increase the upload speed. I was able to upload file with `5GB of size in just 85 seconds`. - Public access mode - It is not now possible to provide users read-only access with just one config var - Batch upload files - Now you can upload multiple files at once from panel. (DClone support has been removed from this version) - Bug fix - `download reset` for few mobile devices diff --git a/docker/Dockerfile b/docker/Dockerfile index dfa4cad..aa9dfc4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,6 +9,9 @@ WORKDIR /app # Copy project files COPY --chown=node:node . /app +# NPM Update +RUN npm update -g npm + # Install packages RUN npm install diff --git a/docker/entrypoint b/docker/entrypoint index 4f371f1..21fcd8c 100644 --- a/docker/entrypoint +++ b/docker/entrypoint @@ -1,3 +1,4 @@ #!/usr/bin/env sh +cd /app && npm run migration:up node /app/bin/ddrive "$@"