a little docking
This commit is contained in:
4
.dockerignore
Normal file
4
.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
node_modules
|
||||||
|
.git
|
||||||
|
config.json
|
||||||
|
state.json
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
FROM node:latest
|
FROM node:latest
|
||||||
RUN mkdir -p /usr/scr/bot
|
RUN mkdir -p /usr/src/bot
|
||||||
WORKDIR /usr/src/bot
|
WORKDIR /usr/src/bot
|
||||||
COPY . /usr/src/bot
|
COPY . /usr/src/bot
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|||||||
@@ -3,4 +3,5 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.json:/usr/src/bot/config.json
|
- ./config.json:/usr/src/bot/config.json
|
||||||
|
- ./state.json:/usr/src/bot/state.json
|
||||||
Reference in New Issue
Block a user