Skip to content

Commit

Permalink
Merge pull request #4 from Seele0oO/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
z-mio authored Nov 29, 2023
2 parents 2fb57ad + 793239e commit c7ad787
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 5 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
FROM ubuntu
FROM python:3

ADD . /root/Alist-bot
WORKDIR /root/Alist-bot
WORKDIR /usr/src/app

RUN apt-get update \
&& apt-get install -y sudo \
&& sudo apt-get install -y python3 python3-pip \
&& pip3 install -r requirements.txt
COPY . .

RUN pip install --no-cache-dir -r requirements.txt

CMD ["python3", "/root/Alist-bot/bot.py"]
CMD ["python3", "bot.py"]
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PyYAML
APScheduler~=3.10.1
requests
croniter
Pyrogram
TgCrypto
Expand Down

0 comments on commit c7ad787

Please sign in to comment.