From ddab09d2dabb0e9116cd636aab03695cd0df424c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 5 Mar 2023 03:32:08 +0100 Subject: [PATCH] remove legacy-peer-deps flag --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9814eda..3a302a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,10 +12,10 @@ WORKDIR /app COPY --chown=node:node . . -RUN npm ci --only=production --legacy-peer-deps +RUN npm ci --only=production RUN npx tsc RUN rm -r src/ tsconfig.json -RUN npm uninstall typescript @types/sqlite3 --legacy-peer-deps +RUN npm uninstall typescript @types/sqlite3 CMD ["dumb-init", "node", "./dist/index.js"]