feat: docker

This commit is contained in:
Siwoo Jeon 2023-01-23 23:00:35 +09:00
parent f5b30badf8
commit 81fb27cb0a
Signed by: migan
GPG key ID: C4151385FFD2082A
2 changed files with 10 additions and 0 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM node:16.19.0
RUN mkdir app
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn build
CMD ["yarn", "start"]

View file

@ -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