update dockerfile

This commit is contained in:
felinae98 2022-06-07 11:11:42 +08:00
parent 3ca356e364
commit c1b8c9a7e5
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610
2 changed files with 2 additions and 0 deletions

View File

@ -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"]

View File

@ -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"]