diff --git a/Dockerfile b/Dockerfile index eb8e4df..84c9f4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ ENV GID=1000 RUN apk add --no-cache --upgrade --virtual=build-dependencies build-base cmake libffi-dev openssl-dev python3-dev jpeg-dev libpng-dev zlib-dev jpeg-dev cargo llvm14-dev openblas openblas-dev && \ apk add --no-cache --upgrade sudo python3 py-pip libev chromaprint ffmpeg gstreamer flac keyfinder-cli libsndfile && \ apk add --no-cache --allow-untrusted /pkgs/* && \ - env LLVM_CONFIG="$(which llvm14-config)" pip install --no-cache-dir . .[docker] && \ + env LLVM_CONFIG="$(which llvm14-config)" pip install --no-cache-dir . --requirement requirements-docker.txt && \ apk del --purge build-dependencies && \ rm -r /pkgs ~/.cache diff --git a/pyproject.toml b/pyproject.toml index 220347a..f1d5c43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,23 +45,6 @@ dev = [ "pyright", "pylint", ] -docker = [ - "beets @ https://github.com/beetbox/beets/archive/master.zip", - "beets-lidarr-fields", - "discogs-client", - "beets-noimport", - "pyacoustid", - "pylast", - "requests", - "beautifulsoup4", - "beets-extrafiles", - "pillow", - "unidecode", - "jsonpath-rw", - "pyyaml", - "beets-bpmanalyser @ https://github.com/adamjakab/BeetsPluginBpmAnalyser/archive/devel.zip", - "librosa", -] [project.urls] "Homepage" = "https://github.com/sentriz/betanin" diff --git a/requirements-docker.txt b/requirements-docker.txt new file mode 100644 index 0000000..1b4c406 --- /dev/null +++ b/requirements-docker.txt @@ -0,0 +1,15 @@ +beets @ https://github.com/beetbox/beets/archive/master.zip +beets-lidarr-fields +discogs-client +beets-noimport +pyacoustid +pylast +requests +beautifulsoup4 +beets-extrafiles +pillow +unidecode +jsonpath-rw +pyyaml +beets-bpmanalyser @ https://github.com/adamjakab/BeetsPluginBpmAnalyser/archive/devel.zip +librosa