From 81fb27cb0ac4bac275e78067dcd7cd4f3b5fe603 Mon Sep 17 00:00:00 2001 From: Migan178 Date: Mon, 23 Jan 2023 23:00:35 +0900 Subject: [PATCH] feat: docker --- Dockerfile | 9 +++++++++ src/Client.ts | 1 + 2 files changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e743558 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM node:16.19.0 +RUN mkdir app +WORKDIR /app +COPY . . +RUN yarn install +RUN yarn build + + +CMD ["yarn", "start"] \ No newline at end of file diff --git a/src/Client.ts b/src/Client.ts index 10c2550..3a2bef1 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -21,6 +21,7 @@ export default class MuffinAI extends Client { type: ActivityType.Playing, name: 'ㅅ살려주세요..!', }) + console.log(`먹힐 준비 완료`) }).on('messageCreate', async msg => { if (msg.author.bot) return if (!msg.content.startsWith('머핀아 ')) return