update dockerfile

This commit is contained in:
felinae98 2021-02-09 10:56:14 +08:00
parent efc599f35c
commit b970860c9a
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -8,4 +8,5 @@ COPY ./pyproject.toml ./poetry.lock* /app/
RUN poetry install --no-root --no-dev
# RUN PYPPETEER_DOWNLOAD_HOST='http://npm.taobao.org/mirrors' pyppeteer-install
COPY . /app/
ENV HOST=0.0.0.0
CMD ["python", "bot.py"]