fix dockerfile

This commit is contained in:
felinae98
2021-10-22 22:17:19 +08:00
parent 07c6b74220
commit d94ce39c6e
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -6,6 +6,7 @@ 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
COPY . /app/
ENV HK_REPORTER_BROWSER=local:/usr/bin/chromium
ADD src /app/src
ADD bot.py /app/
ENV HOST=0.0.0.0
CMD ["python", "bot.py"]