Adding docker support

Signed-off-by: stephen <stephen@vanderwarker.family>
This commit is contained in:
Stephen Vanderwarker 2022-02-27 11:13:15 -05:00
parent ce90a74e68
commit e6ade36780
Signed by: stephen
GPG Key ID: EF429EF847868C14
3 changed files with 15 additions and 1 deletions

8
.dockerignore Normal file
View File

@ -0,0 +1,8 @@
node_modules
package-lock.json
config.ini
build/
npm-debug.log
.vs/
Dockerfile
Jenkinsfile

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM node:16-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["node", "index.js"]

View File

@ -4,7 +4,6 @@ Vanderwarker Family XMPP Bot.
---- ----
[![NPM](https://nodei.co/npm/vxmppb.png?compact=true)](https://nodei.co/npm/vxmppb/) [![NPM](https://nodei.co/npm/vxmppb.png?compact=true)](https://nodei.co/npm/vxmppb/)
[![Known Vulnerabilities](https://snyk.io/test/npm/vxmppb/badge.svg)](https://snyk.io/test/npm/vxmppb) [![Known Vulnerabilities](https://snyk.io/test/npm/vxmppb/badge.svg)](https://snyk.io/test/npm/vxmppb)
@ -15,6 +14,7 @@ Vanderwarker Family XMPP Bot.
You can install using: You can install using:
- [npm](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:install:npm) - [npm](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:install:npm)
- [Git](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:install:git) - [Git](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:install:git)
- [Docker](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:install:docker)
### :1234: Commands ### :1234: Commands
[See here](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:commands) [See here](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:commands)