mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 11:26:43 +08:00
update dockerfile
This commit is contained in:
parent
3ca356e364
commit
c1b8c9a7e5
@ -14,6 +14,7 @@ RUN poetry install --no-dev --no-root
|
||||
RUN playwright install chromium
|
||||
ADD src /app/src
|
||||
ADD bot.py /app/
|
||||
RUN echo 'DATASTORE_DATA_DIR=/data' > .env
|
||||
ENV HOST=0.0.0.0
|
||||
CMD ["python", "bot.py"]
|
||||
|
||||
|
@ -15,6 +15,7 @@ RUN poetry add nonebot-plugin-sentry && \
|
||||
RUN poetry install --no-dev --no-root
|
||||
RUN playwright install chromium
|
||||
ADD src /app/src
|
||||
RUN echo 'DATASTORE_DATA_DIR=/data' > .env
|
||||
ENV HOST=0.0.0.0
|
||||
CMD ["python", "bot.py"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user