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