From 85bc8430068096607e0bca91ccb52b039f798001 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 17 Jan 2023 12:33:26 +0100 Subject: [PATCH 1/2] fix prod issue --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 658a33d..1ef6342 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,10 @@ "discord.js": "^14.3.0", "sqlite3": "^5.0.11", "typescript": "^4.7.4", - "uuid": "^9.0.0" + "uuid": "^9.0.0", + "@types/uuid": "^9.0.0" }, "devDependencies": { - "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^5.30.7", "@typescript-eslint/parser": "^5.30.7", "dotenv": "^16.0.1", -- 2.45.2 From 4e86658e30158fc7f76a607cd1d050498698cda4 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 17 Jan 2023 12:33:32 +0100 Subject: [PATCH 2/2] don't uninstall a dependencie --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c15f051..f0a30d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,6 @@ RUN npm ci --only=production RUN npx tsc RUN rm -r src/ tsconfig.json -RUN npm uninstall typescript discord-api-types @types/sqlite3 +RUN npm uninstall typescript @types/sqlite3 CMD ["dumb-init", "node", "./dist/index.js"] -- 2.45.2