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
+2 -1
View File
@@ -5,6 +5,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 ./src ./bot.py /app/
ADD src /app/src
ADD bot.py /app/
ENV HOST=0.0.0.0
CMD ["python", "bot.py"]