Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lxRbckl committed Jan 26, 2024
1 parent efa5469 commit 242e8af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
15 changes: 3 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,12 @@ ENV dataFilePath '/data/'
ENV guildId '970204828858990593'
ENV channelId '1129843141101498378'
ENV applicationId '976408750070054943'
ENV token undefined
ENV discordToken undefined

ENV repository 'https://github.com/lxRbckl/Project-PasCam.git'


WORKDIR /usr/src/app
COPY . .


RUN apt-get install -y git
RUN git clone ${repository}

RUN cd Project-PasCam
WORKDIR /usr/app
COPY ./ /usr/app
RUN npm install
RUN mkdir data


CMD ["node", "index.js"]
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const client = require('./source/client.js');


// setup <
const token = process.env.token;
const guildId = process.env.guildId;
const token = process.env.discordToken;
const channelId = process.env.channelId;
const maxMembers = process.env.maxMembers;
const dataFilePath = process.env.dataFilePath;
Expand Down

0 comments on commit 242e8af

Please sign in to comment.