Add deployment containers
This commit is contained in:
parent
bcfa5177de
commit
7e7871cc28
2
.env.sample
Normal file
2
.env.sample
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DISCORD_TOKEN=your-token-here
|
||||||
|
MODULES_DIR=/modules
|
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM node:14-alpine3.10
|
||||||
|
WORKDIR /app
|
||||||
|
COPY package.json .
|
||||||
|
RUN npm install --quiet
|
||||||
|
COPY . .
|
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
version: "3.2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
bot:
|
||||||
|
build: .
|
||||||
|
command: npm run dev
|
||||||
|
volumes:
|
||||||
|
- .:/app
|
||||||
|
- /app/node_modules
|
||||||
|
- /app/modules
|
||||||
|
- ./modules:/modules
|
Loading…
Reference in New Issue
Block a user