Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'github/master' into stt
- Loading branch information
Showing
6 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM node:10-alpine | ||
RUN apk update && apk add wget git jq bash && rm -rf /var/cache/apk/* | ||
|
||
WORKDIR /usr/src/gotbot | ||
COPY *.json ./ | ||
COPY client client | ||
COPY lib lib | ||
COPY test test | ||
COPY *.ts ./ | ||
|
||
COPY run ./ | ||
COPY gotcron ./ | ||
|
||
RUN mkdir logs && mkdir data && mkdir client/stt.wiki | ||
|
||
RUN chown -R node:node . | ||
|
||
RUN chmod -R 777 data | ||
|
||
VOLUME /usr/src/gotbot/data | ||
|
||
USER node | ||
|
||
EXPOSE 3030 | ||
|
||
RUN npm install | ||
RUN node_modules/typescript/bin/tsc | ||
|
||
CMD ./run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,6 @@ | |
"test/**/*/", | ||
"*.ts", | ||
"package.json", | ||
"data/password.js", | ||
"client/*.js" | ||
] | ||
} |