Docker config, add a TODO file.

master
Aaron Suen 2019-11-02 12:43:26 -04:00
parent 6e9ff0ca1d
commit 9948a55f69
3 changed files with 22 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.git
node_modules

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM alpine:3.10.2
RUN adduser -D -h /home -u 1000 app
RUN apk add --no-cache npm git lua5.1
COPY --chown=app *.js *.json *.lua LICENSE README /home/
USER app
RUN cd /home && npm i --no-audit

9
TODO Normal file
View File

@ -0,0 +1,9 @@
------------------------------------------------------------------------
- Webhook support.
- Produce JSON appropriate for Discord.
- POST it to an appropriate URL.
- Allow custom JSON object spec.
- Allow it to be piped to a custom script.
------------------------------------------------------------------------