Commit f359645e authored by Matteo's avatar Matteo
Browse files

refactor to poetry

parent e2f2e18f
venv
__pycache__ __pycache__
\ No newline at end of file
FROM python:3.10-slim FROM matteospanio/poetry:latest
LABEL maintainer="Matteo Spanio" LABEL maintainer="Matteo Spanio"
...@@ -6,8 +6,8 @@ WORKDIR /app ...@@ -6,8 +6,8 @@ WORKDIR /app
COPY . ./ COPY . ./
RUN pip install --no-cache-dir -r requirements.txt RUN poetry install --no-cache --only main
VOLUME [ "/data" ] VOLUME [ "/data" ]
CMD ["uvicorn", "src.server:app", "--host", "0.0.0.0", "--port", "80", "--log-config", "config/logger.yaml"] CMD ["poetry", "run", "uvicorn", "src.server:app", "--host", "0.0.0.0", "--port", "80", "--log-config", "config/logger.yaml"]
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
[tool.poetry]
name = "packager"
version = "1.0.1"
description = "MPAI CAE-ARP Packager."
authors = [
"Matteo Spanio <dev2@audioinnova.com>",
"Nadir Dalla Pozza <nadir.dallapozza@unipd.it>"
]
license = "GPLv3"
repository = "https://gitlab.dei.unipd.it/mpai/packager.git"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
mpai-cae-arp = "^0.2.2"
moviepy = "1.0.3"
fastapi = {extras = ["standard"], version = "^0.95.0"}
uvicorn = "^0.21.1"
[tool.poetry.scripts]
packager = 'packager:main'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
anyio==3.6.2
appdirs==1.4.4
audioread==3.0.0
certifi==2022.12.7
cffi==1.15.1
charset-normalizer==3.1.0
click==8.1.3
decorator==4.4.2
dnspython==2.3.0
email-validator==1.3.1
fastapi==0.95.0
h11==0.14.0
httpcore==0.16.3
httptools==0.5.0
httpx==0.23.3
idna==3.4
imageio==2.27.0
imageio-ffmpeg==0.4.8
itsdangerous==2.1.2
Jinja2==3.1.2
joblib==1.2.0
lazy_loader==0.2
librosa==0.10.0.post2
llvmlite==0.39.1
MarkupSafe==2.1.2
moviepy==1.0.3
mpai-cae-arp==0.2.0
msgpack==1.0.5
numba==0.56.4
numpy==1.23.3
orjson==3.8.9
packaging==23.0
Pillow==9.5.0
pooch==1.6.0
proglog==0.1.10
pycparser==2.21
pydantic==1.10.7
python-dotenv==1.0.0
python-multipart==0.0.6
PyYAML==6.0
requests==2.28.2
rfc3986==1.5.0
scikit-learn==1.2.2
scipy==1.10.1
sniffio==1.3.0
soundfile==0.12.1
soxr==0.3.4
starlette==0.26.1
threadpoolctl==3.1.0
tqdm==4.65.0
typing_extensions==4.5.0
ujson==5.7.0
urllib3==1.26.15
uvicorn==0.21.1
uvloop==0.17.0
watchfiles==0.19.0
websockets==11.0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment