Commit 06f21da5 authored by Matteo's avatar Matteo
Browse files

refactor to poetry

parent 56c7ce04
FROM python:3.10-slim
FROM matteospanio/poetry:latest
LABEL maintainer="Matteo Spanio"
......@@ -6,8 +6,8 @@ WORKDIR /app
COPY . ./
RUN pip install --no-cache-dir -r requirements.txt
RUN poetry install --no-cache --only main
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"]
This diff is collapsed.
[tool.poetry]
name = "tape-audio-restoration"
version = "1.0.1"
description = "MPAI CAE-ARP Tape Audio Restoration."
authors = ["Matteo Spanio <dev2@audioinnova.com>", "Nadir Dalla Pozza <nadir.dallapozza@unipd.it>"]
license = "GPLv3"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
numpy = "1.23.3"
mpai-cae-arp = "^0.2.2"
control = "0.9.3.post2"
scipy = "^1.10.1"
fastapi = {extras = ["standard"], version = "^0.95.0"}
uvicorn = "^0.21.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
tape-audio-restoration = 'tapeAudioRestoration:main'
\ No newline at end of file
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
contourpy==1.0.7
control==0.9.3.post2
cycler==0.11.0
decorator==5.1.1
dnspython==2.3.0
email-validator==1.3.1
fastapi==0.95.0
fonttools==4.39.3
h11==0.14.0
httpcore==0.16.3
httptools==0.5.0
httpx==0.23.3
idna==3.4
itsdangerous==2.1.2
Jinja2==3.1.2
joblib==1.2.0
kiwisolver==1.4.4
lazy_loader==0.2
librosa==0.10.0.post2
llvmlite==0.39.1
MarkupSafe==2.1.2
matplotlib==3.7.1
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
pycparser==2.21
pydantic==1.10.7
pyparsing==3.0.9
python-dateutil==2.8.2
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.0
six==1.16.0
sniffio==1.3.0
soundfile==0.12.1
soxr==0.3.4
starlette==0.26.1
threadpoolctl==3.1.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