| # debian.sh --arch 'amd64' out/ 'bookworm' '@1765152000' |
| WORKDIR /usr/src |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-dev python3-venv libopenblas0 libencode-perl curl build-essential && mkdir ./tools && curl --location --output - "https://huggingface.co/datasets/rhasspy/rhasspy-speech/resolve/main/tools/rhasspy-speech_amd64.tar.gz?download=true" | tar -C ./tools -xzf - # buildkit |
| RUN /bin/sh -c python3 -m venv .venv && .venv/bin/pip3 install --no-cache-dir ./git && apt-get remove --yes build-essential && apt-get autoclean && apt-get purge && rm -rf /var/lib/apt/lists/* # buildkit |
| WORKDIR / |
| COPY run.sh ./ # buildkit |
| EXPOSE [10300/tcp] |
| ENTRYPOINT ["bash" "/run.sh"] |