mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
update docker files
This commit is contained in:
parent
dd996ce691
commit
4c9de7dc73
@ -6,7 +6,7 @@ WORKDIR /app
|
||||
COPY ./pyproject.toml ./poetry.lock* /app/
|
||||
RUN poetry install --no-root --no-dev
|
||||
# RUN PYPPETEER_DOWNLOAD_HOST='http://npm.taobao.org/mirrors' pyppeteer-install
|
||||
ENV HK_REPORTER_BROWSER=local:/usr/bin/chromium
|
||||
ENV BISON_BROWSER=local:/usr/bin/chromium
|
||||
ADD src /app/src
|
||||
ADD bot.py /app/
|
||||
ENV HOST=0.0.0.0
|
||||
|
@ -8,15 +8,15 @@ services:
|
||||
browserless:
|
||||
image: browserless/chrome
|
||||
nonebot:
|
||||
image: felinae98/nonebot-hk-reporter
|
||||
image: felinae98/nonebot-bison
|
||||
volumes:
|
||||
- ./nonebot-data:/data
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
HOST: 0.0.0.0
|
||||
# SUPERUSERS: '[<your QQ>]'
|
||||
HK_REPORTER_CONFIG_PATH: /data
|
||||
HK_REPORTER_BROWSER: ws://browserless:3000
|
||||
BISON_CONFIG_PATH: /data
|
||||
BISON_BROWSER: ws://browserless:3000
|
||||
depends_on:
|
||||
- browserless
|
||||
- go-cqhttp
|
||||
|
Loading…
x
Reference in New Issue
Block a user