Browse Source

Adding docker support

Signed-off-by: stephen <stephen@vanderwarker.family>
pull/14/head
Stephen Vanderwarker 6 months ago
parent
commit
e6ade36780
Signed by: stephen
GPG Key ID: EF429EF847868C14
  1. 8
      .dockerignore
  2. 6
      Dockerfile
  3. 2
      README.md

8
.dockerignore

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

6
Dockerfile

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

2
README.md

@ -4,7 +4,6 @@ Vanderwarker Family XMPP Bot.
----
[![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)
@ -15,6 +14,7 @@ Vanderwarker Family XMPP Bot.
You can install using:
- [npm](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:install:npm)
- [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
[See here](https://wiki.vanderwarker.family/doku.php?id=code:vxmppb:commands)

Loading…
Cancel
Save