use playwright

This commit is contained in:
felinae98
2021-12-08 11:52:33 +08:00
parent a7d8e4ec0c
commit cc64cb5035
6 changed files with 113 additions and 226 deletions
-1
View File
@@ -4,7 +4,6 @@ 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
# RUN PYPPETEER_DOWNLOAD_HOST='http://npm.taobao.org/mirrors' pyppeteer-install
ADD src /app/src
ADD bot.py /app/
ENV HOST=0.0.0.0