Adding docker support
Signed-off-by: stephen <stephen@vanderwarker.family>
This commit is contained in:
parent
ce90a74e68
commit
e6ade36780
8
.dockerignore
Normal file
8
.dockerignore
Normal file
|
@ -0,0 +1,8 @@
|
|||
node_modules
|
||||
package-lock.json
|
||||
config.ini
|
||||
build/
|
||||
npm-debug.log
|
||||
.vs/
|
||||
Dockerfile
|
||||
Jenkinsfile
|
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
FROM node:16-alpine
|
||||
WORKDIR /usr/src/app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
CMD ["node", "index.js"]
|
|
@ -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)
|
||||
|
|
Reference in New Issue
Block a user