[PATCH] add dockerfile, example docker-compose.yml, and empty blacklist to fix cache
parent
611ad45c16
commit
464777b04e
@ -0,0 +1,10 @@
|
||||
FROM lukechannings/deno
|
||||
# same as normal deno image but supports ARM because lol
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN deno cache index.ts
|
||||
|
||||
ENTRYPOINT [ "deno", "task", "run:bot" ]
|
@ -0,0 +1 @@
|
||||
[]
|
@ -0,0 +1,18 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
bot:
|
||||
image: discord_ai_bot
|
||||
build: .
|
||||
volumes:
|
||||
- ./config.json:/app/config.json
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: surrealdb/surrealdb
|
||||
command: start --user root --pass root rocksdb:///data/database
|
||||
volumes:
|
||||
- db:/data
|
||||
|
||||
volumes:
|
||||
db:
|
Loading…
Reference in new issue