Compare commits
2 Commits
1b1049acd2
...
0bfe594371
Author | SHA1 | Date |
---|---|---|
Starthur | 0bfe594371 | |
Arthur-TRT | 2861f55585 |
17
Dockerfile
17
Dockerfile
|
@ -1,10 +1,15 @@
|
||||||
FROM debian:9
|
FROM debian:9
|
||||||
RUN apt-get update -yq \
|
|
||||||
&& apt-get install curl gnupg -yq \
|
|
||||||
&& curl -sL https://deb.nodesource.com/setup_16.x |bash -\
|
|
||||||
&& apt-get install nodejs -yq \
|
|
||||||
&& apt-get clean -y
|
|
||||||
ADD . /app/
|
ADD . /app/
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
CMD npm i && npm remove discord-api-types && npm i discord-api-types@0.27.2 && node bot.js
|
|
||||||
|
RUN apt-get update -yq \
|
||||||
|
&& apt-get install curl gnupg -yq \
|
||||||
|
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
|
||||||
|
&& apt-get install nodejs -yq \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& npm i
|
||||||
|
|
||||||
|
|
||||||
|
CMD node bot.js
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/rest": "^0.3.0",
|
"@discordjs/rest": "*",
|
||||||
"discord-api-types": "^0.27.2",
|
"discord-api-types": "*",
|
||||||
"discord.js": "^13.6.0",
|
"discord.js": "*",
|
||||||
"npm": "^8.5.0"
|
"npm": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue