Closed bcwilsondotcom closed 1 month ago
Interesting, I have no idea if it will work on Mac. You can safely remove (or comment) onnxruntime-gpu from the requirements.txt though, it's for cuda accelerated piper-tts, which is not very important. I don't know if that will be enough though, I don't have a mac to test this with. Let me know how it goes!
Running on a Mac M2..
docker compose up
[+] Running 0/1 ⠏ server Pulling 1.0s [+] Building 3.6s (10/12) docker:desktop-linux => [server internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 496B 0.0s => [server internal] load metadata for docker.io/library/python:3.11-slim 0.4s => [server internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [server stage-0 1/8] FROM docker.io/library/python:3.11-slim@sha256:6d2502238109c929569ae99355e28890c438cb11bc88ef02cd189c173b3db07c 0.0s => [server internal] load build context 0.0s => => transferring context: 963B 0.0s => CACHED [server stage-0 2/8] RUN apt-get update && apt-get install --no-install-recommends -y curl git ffmpeg 0.0s => CACHED [server stage-0 3/8] RUN mkdir -p /app/voices 0.0s => CACHED [server stage-0 4/8] WORKDIR /app 0.0s => CACHED [server stage-0 5/8] COPY *.txt /app/ 0.0s => ERROR [server stage-0 6/8] RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt 3.2s