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
|
||||
RUN mkdir -p /usr/scr/bot
|
||||
RUN mkdir -p /usr/src/bot
|
||||
WORKDIR /usr/src/bot
|
||||
COPY . /usr/src/bot
|
||||
RUN npm install
|
||||
|
||||
@@ -4,3 +4,4 @@ services:
|
||||
build: .
|
||||
volumes:
|
||||
- ./config.json:/usr/src/bot/config.json
|
||||
- ./state.json:/usr/src/bot/state.json
|
||||
Reference in New Issue
Block a user