This commit is contained in:
Robert 2024-03-19 00:24:11 +07:00
parent 0ba3b7b9ba
commit 90a0343cbb
No known key found for this signature in database
GPG Key ID: F631C7FD957D5F22
3 changed files with 46 additions and 5 deletions

View File

@ -31,7 +31,7 @@ ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONPATH /app:$PYTHONPATH ENV PYTHONPATH /app:$PYTHONPATH
RUN apk add --update --no-cache libpq RUN apk add --update --no-cache libpq ffmpeg
COPY --from=base /usr/local/bin/ /usr/local/bin/ COPY --from=base /usr/local/bin/ /usr/local/bin/
COPY --from=base /usr/local/lib/python3.12/site-packages/ /usr/local/lib/python3.12/site-packages/ COPY --from=base /usr/local/lib/python3.12/site-packages/ /usr/local/lib/python3.12/site-packages/

47
poetry.lock generated
View File

@ -1,5 +1,16 @@
# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. # This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand.
[[package]]
name = "aiofiles"
version = "23.2.1"
description = "File support for asyncio."
optional = false
python-versions = ">=3.7"
files = [
{file = "aiofiles-23.2.1-py3-none-any.whl", hash = "sha256:19297512c647d4b27a2cf7c34caa7e405c0d60b5560618a29a9fe027b18b0107"},
{file = "aiofiles-23.2.1.tar.gz", hash = "sha256:84ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a"},
]
[[package]] [[package]]
name = "annotated-types" name = "annotated-types"
version = "0.6.0" version = "0.6.0"
@ -144,6 +155,23 @@ typing-extensions = ">=4.8.0"
[package.extras] [package.extras]
all = ["email-validator (>=2.0.0)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)", "jinja2 (>=2.11.2)", "orjson (>=3.2.1)", "pydantic-extra-types (>=2.0.0)", "pydantic-settings (>=2.0.0)", "python-multipart (>=0.0.7)", "pyyaml (>=5.3.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0)", "uvicorn[standard] (>=0.12.0)"] all = ["email-validator (>=2.0.0)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)", "jinja2 (>=2.11.2)", "orjson (>=3.2.1)", "pydantic-extra-types (>=2.0.0)", "pydantic-settings (>=2.0.0)", "python-multipart (>=0.0.7)", "pyyaml (>=5.3.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0)", "uvicorn[standard] (>=0.12.0)"]
[[package]]
name = "ffmpeg-python"
version = "0.2.0"
description = "Python bindings for FFmpeg - with complex filtering support"
optional = false
python-versions = "*"
files = [
{file = "ffmpeg-python-0.2.0.tar.gz", hash = "sha256:65225db34627c578ef0e11c8b1eb528bb35e024752f6f10b78c011f6f64c4127"},
{file = "ffmpeg_python-0.2.0-py3-none-any.whl", hash = "sha256:ac441a0404e053f8b6a1113a77c0f452f1cfc62f6344a769475ffdc0f56c23c5"},
]
[package.dependencies]
future = "*"
[package.extras]
dev = ["Sphinx (==2.1.0)", "future (==0.17.1)", "numpy (==1.16.4)", "pytest (==4.6.1)", "pytest-mock (==1.10.4)", "tox (==3.12.1)"]
[[package]] [[package]]
name = "flake8" name = "flake8"
version = "7.0.0" version = "7.0.0"
@ -176,6 +204,17 @@ Flake8 = ">=5"
[package.extras] [package.extras]
dev = ["pyTest", "pyTest-cov"] dev = ["pyTest", "pyTest-cov"]
[[package]]
name = "future"
version = "1.0.0"
description = "Clean single-source support for Python 3 and 2"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
files = [
{file = "future-1.0.0-py3-none-any.whl", hash = "sha256:929292d34f5872e70396626ef385ec22355a1fae8ad29e1a734c3e43f9fbc216"},
{file = "future-1.0.0.tar.gz", hash = "sha256:bd2968309307861edae1458a4f8a4f3598c03be43b97521076aebf5d94c07b05"},
]
[[package]] [[package]]
name = "h11" name = "h11"
version = "0.14.0" version = "0.14.0"
@ -309,13 +348,13 @@ zstd = ["pymongo[zstd] (>=4.5,<5)"]
[[package]] [[package]]
name = "planfix-client" name = "planfix-client"
version = "0.1.8" version = "0.1.9"
description = "" description = ""
optional = false optional = false
python-versions = ">=3.12,<4.0" python-versions = ">=3.12,<4.0"
files = [ files = [
{file = "planfix_client-0.1.8-py3-none-any.whl", hash = "sha256:51c8571089f3b722a050c475a366ce86d4de94db7aa0d23f4601c77bab2b42f6"}, {file = "planfix_client-0.1.9-py3-none-any.whl", hash = "sha256:879cbe091446fb9e808c6f14e9dfeaf737ca3e58ea55b0008743d6b7fc079d3c"},
{file = "planfix_client-0.1.8.tar.gz", hash = "sha256:461ee6f94c41511dac421d4dbe73762bdaec5727f1e66c7f643f516d6b9c06f8"}, {file = "planfix_client-0.1.9.tar.gz", hash = "sha256:44a5ec39ce0d55e309f50db7fd9aafb3ab25848743b5367ae99ababb025b1a75"},
] ]
[package.dependencies] [package.dependencies]
@ -742,4 +781,4 @@ dev = ["black (>=19.3b0)", "pytest (>=4.6.2)"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.12" python-versions = "^3.12"
content-hash = "57d38b217126caeadb047765900fe57a5d63a81224768a61add37acad1229a21" content-hash = "47c9950c229f1169e9151aecbc08c831789bcafd00406221b10c86067f0ebde8"

View File

@ -27,6 +27,8 @@ loguru = "^0.7.2"
planfix-client = "^0.1.3" planfix-client = "^0.1.3"
python-multipart = "^0.0.9" python-multipart = "^0.0.9"
boto3 = "^1.34.59" boto3 = "^1.34.59"
ffmpeg-python = "^0.2.0"
aiofiles = "^23.2.1"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]