diff --git a/Makefile b/Makefile index 938e8fe7..fced65f6 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ wheel: clean pip3 install build python3 -m build docker_stage: wheel - cp dist/*.whl docker/root/ + cp dist/*.whl docker/root/ytdl-sub.whl cp -R examples docker/root/defaults/ docker: docker_stage sudo docker build --progress=plain --no-cache -t ytdl-sub:local docker/ diff --git a/docker/Dockerfile b/docker/Dockerfile index 8ea1fb47..abde1f7c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -44,10 +44,10 @@ RUN mkdir -p /config && \ fi && \ echo "hi" && \ # Install ytdl-sub, ensure it is installed properly - python3 -m pip install --break-system-packages --no-cache-dir ytdl_sub-*.whl && \ + python3 -m pip install --break-system-packages --no-cache-dir ytdl-sub.whl && \ ytdl-sub -h && \ # Delete unneeded packages after install - rm ytdl_sub-*.whl && \ + rm ytdl-sub.whl && \ apk del \ g++ \ make \ diff --git a/docker/Dockerfile.gui b/docker/Dockerfile.gui index d03545df..55446a6e 100644 --- a/docker/Dockerfile.gui +++ b/docker/Dockerfile.gui @@ -61,10 +61,10 @@ RUN mkdir -p /config && \ phantomjs --version ; \ fi && \ # Install ytdl-sub, ensure it is installed properly - pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \ + pip install --no-cache-dir --break-system-packages ytdl-sub.whl && \ ytdl-sub -h && \ # Delete unneeded packages after install - rm ytdl_sub-*.whl && \ + rm ytdl-sub.whl && \ apt-get remove -y \ g++ \ make \ diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index ca53c601..da80c47f 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -64,10 +64,10 @@ RUN mkdir -p /config && \ phantomjs --version ; \ fi && \ # Install ytdl-sub, ensure it is installed properly - pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \ + pip install --no-cache-dir --break-system-packages ytdl-sub.whl && \ ytdl-sub -h && \ # Delete unneeded packages after install - rm ytdl_sub-*.whl && \ + rm ytdl-sub.whl && \ apt-get remove -y \ g++ \ make \