Skip to content

Commit

Permalink
Merge pull request #1596 from fanyinrumeng/main
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
HibiKier authored Sep 2, 2024
2 parents 02aba68 + 6cda41d commit cff3535
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ WORKDIR /app/zhenxun

COPY . /app/zhenxun

RUN apt update && \
apt upgrade -y && \
apt install -y --no-install-recommends \
gcc \
g++ &&\
apt clean

RUN pip install poetry -i https://mirrors.aliyun.com/pypi/simple/

RUN poetry install
Expand All @@ -16,4 +23,4 @@ VOLUME /app/zhenxun/resources /app/zhenxun/resources

RUN poetry run playwright install --with-deps chromium

CMD ["poetry", "run", "python", "bot.py"]
CMD ["poetry", "run", "python", "bot.py"]

0 comments on commit cff3535

Please sign in to comment.