diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2d5d7f6..bab4e12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:12-alpine -COPY package*.json ./ +COPY package.json ./ RUN npm install COPY . ./ -CMD npm start \ No newline at end of file +CMD ["npm", "start"] \ No newline at end of file diff --git a/index.js b/index.js index 010df1d..b8da047 100644 --- a/index.js +++ b/index.js @@ -4,6 +4,7 @@ const prefix = process.env.PREFIX || "?"; const guild_id = process.env.GUILD_ID; const verified_role_id = process.env.ROLE_ID; const verification_channel_id = process.env.CHANNEL_ID; +const TOKEN = process.env.TOKEN; const fs = require("fs"); const Discord = require("discord.js");