-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,501 additions
and
1,063 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ data | |
*.db-wal | ||
*.log* | ||
|
||
dist/ | ||
.tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
FROM python:3.12 | ||
FROM python:3.12-slim | ||
|
||
WORKDIR /usr/src/app | ||
COPY pyproject.toml poetry.lock ./ | ||
RUN pip install poetry && poetry install --only main --no-root --no-directory --no-cache | ||
COPY . . | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
RUN poetry install --only main | ||
ENV PORT=9000 \ | ||
TOKEN="" | ||
ENTRYPOINT ["python"] | ||
CMD ["main.py"] | ||
ENTRYPOINT ["poetry", "run", "python", "-m", "biliparser"] |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[tool.poetry] | ||
name = "telegram-bili-feed-helper" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["simonsmh"] | ||
license = "GPLv3" | ||
readme = "README.md" | ||
packages = [{ include = "biliparser" }] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
aiomysql = "^0.2.0" | ||
asyncpg = "^0.29.0" | ||
beautifulsoup4 = "^4.12.3" | ||
httpx = {extras = ["http2"], version = "^0.27.0"} | ||
loguru = "^0.7.2" | ||
lxml = "^5.2.2" | ||
pillow = "^10.3.0" | ||
python-telegram-bot = {extras = ["all"], version = "^21.3"} | ||
redis = "^5.0.5" | ||
telegraph = {extras = ["aio"], version = "^2.2.0"} | ||
tortoise-orm = {extras = ["accel"], version = "^0.21.3"} | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^8.2.2" | ||
pytest-asyncio = "^0.23.7" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.