-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调整 Dockerfile 以及 Bison 的运行方式 #447
Conversation
✅ Deploy Preview for nonebot-bison ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #447 +/- ##
=======================================
Coverage 82.53% 82.53%
=======================================
Files 64 64
Lines 3246 3253 +7
=======================================
+ Hits 2679 2685 +6
- Misses 567 568 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6918348
to
94f6508
Compare
RUN python3 -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple | ||
RUN python3 -m pip install poetry && poetry config virtualenvs.create false | ||
WORKDIR /app | ||
COPY ./pyproject.toml ./poetry.lock* /app/ | ||
RUN poetry install --no-root --no-dev | ||
COPY ./README.md ./pyproject.toml ./poetry.lock* /app/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个怎么加进来了
新的commit9837692 解决了docker webui缺失的问题,但是对于为什么env读取不到还是没有头猪 |
rebase 一下?然后默认还是 command 不需要 / 吧 |
208899f
to
1c0cb0c
Compare
nonebot_bison/plugin_config.py
Outdated
@@ -29,5 +31,16 @@ def outer_url(self) -> str: | |||
class Config: | |||
extra = "ignore" | |||
|
|||
@root_validator(pre=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
能不能把 .docker.env.prod 里直接写上默认值,这里就不搞这个了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以 昨晚就说改了(
删除了 bot.py,现在可以以
nb run
运行