From 14c8ebd6a84aa090d462bdcee36ac66ab7636f29 Mon Sep 17 00:00:00 2001 From: Ahn Jiwan Date: Sun, 11 Feb 2024 20:51:25 +0900 Subject: [PATCH] :sparkles: feat: v2.1.2 release --- Dockerfile | 1 + src/commands/adminupdate.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c50e764..cf3f3c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ COPY package*.json ./ COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/dist ./dist +COPY --from=builder /app/dist/assets ./src/assets CMD ["sh","-c", "sleep 15 && npm run start"] diff --git a/src/commands/adminupdate.ts b/src/commands/adminupdate.ts index 3d53cec..adde5d9 100644 --- a/src/commands/adminupdate.ts +++ b/src/commands/adminupdate.ts @@ -15,7 +15,7 @@ export default{ await interaction.reply("권한이 없습니다.") return; } else { - const updateLog: string = fs.readFileSync('./src/assets/updatelog.txt', 'utf8'); + const updateLog: string = fs.readFileSync('./dist/assets/updatelog.txt', 'utf8'); console.log(updateLog); await interaction.reply("업데이트 사항을 전송합니다.") await interaction.followUp(updateLog);