a little docking

This commit is contained in:
2025-11-08 17:31:51 -05:00
parent 18d27e73b0
commit cdeef2189a
3 changed files with 7 additions and 2 deletions

4
.dockerignore Normal file
View File

@@ -0,0 +1,4 @@
node_modules
.git
config.json
state.json

View File

@@ -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

View File

@@ -4,3 +4,4 @@ services:
build: .
volumes:
- ./config.json:/usr/src/bot/config.json
- ./state.json:/usr/src/bot/state.json