Added Docker support

This commit is contained in:
Christer Warén 2020-08-15 00:12:37 +03:00
parent 277ec9a5d9
commit 47fe1b4f8f
3 changed files with 19 additions and 2 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.git/
.vscode/

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM node:13.14.0-alpine
WORKDIR /usr/src/app
COPY / /usr/src/app/
RUN apk add --virtual .build-deps python make g++ gcc
RUN npm install
CMD [ "npm", "start" ]

View File

@ -1,5 +1,9 @@
# RadioX by EximiaBots
We will bring you finnish radio to your discord server.
Join our Discord Server
https://discord.gg/rRA65Mn
## Docker
1. `docker build -t warengroup-eximiabots/radiox .`
2. `docker run --name radiox-dev -d --net host -e DISCORD_TOKEN= -e PREFIX="rx-" -v $PWD:/usr/src/app/ warengroup-eximiabots/radiox`
##Join our Discord Server
https://discord.gg/rRA65Mn