This commit is contained in:
felinae98
2021-02-08 12:06:23 +08:00
parent 8d02c8f22a
commit 52fed1ad1a
2 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -6,6 +6,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
# RUN PYPPETEER_DOWNLOAD_HOST='http://npm.taobao.org/mirrors' pyppeteer-install
COPY . /app/
CMD ["python", "bot.py"]