mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 19:36:43 +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/
|
COPY ./pyproject.toml ./poetry.lock* /app/
|
||||||
RUN poetry install --no-root --no-dev
|
RUN poetry install --no-root --no-dev
|
||||||
# RUN PYPPETEER_DOWNLOAD_HOST='http://npm.taobao.org/mirrors' pyppeteer-install
|
# 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 src /app/src
|
||||||
ADD bot.py /app/
|
ADD bot.py /app/
|
||||||
ENV HOST=0.0.0.0
|
ENV HOST=0.0.0.0
|
||||||
|
@ -8,15 +8,15 @@ services:
|
|||||||
browserless:
|
browserless:
|
||||||
image: browserless/chrome
|
image: browserless/chrome
|
||||||
nonebot:
|
nonebot:
|
||||||
image: felinae98/nonebot-hk-reporter
|
image: felinae98/nonebot-bison
|
||||||
volumes:
|
volumes:
|
||||||
- ./nonebot-data:/data
|
- ./nonebot-data:/data
|
||||||
environment:
|
environment:
|
||||||
TZ: Asia/Shanghai
|
TZ: Asia/Shanghai
|
||||||
HOST: 0.0.0.0
|
HOST: 0.0.0.0
|
||||||
# SUPERUSERS: '[<your QQ>]'
|
# SUPERUSERS: '[<your QQ>]'
|
||||||
HK_REPORTER_CONFIG_PATH: /data
|
BISON_CONFIG_PATH: /data
|
||||||
HK_REPORTER_BROWSER: ws://browserless:3000
|
BISON_BROWSER: ws://browserless:3000
|
||||||
depends_on:
|
depends_on:
|
||||||
- browserless
|
- browserless
|
||||||
- go-cqhttp
|
- go-cqhttp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user