Skip to content

Commit

Permalink
dockerized !
Browse files Browse the repository at this point in the history
  • Loading branch information
alii committed Sep 2, 2020
1 parent 53d1f61 commit 0b2876e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM node:current-alpine
WORKDIR /
COPY . .
RUN npm install
CMD ["npm", "start"]
2 changes: 2 additions & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export async function ngram(
);
});
});

return await markov(guild, ngrams, isTriggered);
}

Expand Down Expand Up @@ -80,5 +81,6 @@ export async function markov(
break;
}
}

return result;
}

0 comments on commit 0b2876e

Please sign in to comment.