mirror of https://github.com/coqui-ai/TTS.git
fix(docker): add Support for building Docker on Mac/arm64 (#159)
* Add Support for building Docker on arm64 * fixup! Add Support for building Docker on arm64 --------- Co-authored-by: Enno Hermann <enno.hermann@idiap.ch>
This commit is contained in:
parent
b5bd9953c7
commit
75d082563e
17
Dockerfile
17
Dockerfile
|
@ -1,9 +1,20 @@
|
|||
ARG BASE=nvidia/cuda:11.8.0-base-ubuntu22.04
|
||||
FROM ${BASE}
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
RUN apt-get install -y --no-install-recommends gcc g++ make python3 python3-dev python3-pip python3-venv python3-wheel espeak-ng libsndfile1-dev && rm -rf /var/lib/apt/lists/*
|
||||
RUN pip3 install -U pip setuptools
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
gcc g++ make python3 python3-dev python3-pip \
|
||||
python3-venv python3-wheel espeak-ng \
|
||||
libsndfile1-dev libc-dev curl && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Rust compiler (to build sudachipy for Mac)
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf "https://sh.rustup.rs" | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
RUN pip3 install -U pip setuptools wheel
|
||||
RUN pip3 install -U "spacy[ja]<3.8"
|
||||
RUN pip3 install llvmlite --ignore-installed
|
||||
|
||||
# Install Dependencies:
|
||||
|
|
Loading…
Reference in New Issue