stt / Dockerfile
komyu1227's picture
fix
d33d6cf
raw
history blame contribute delete
571 Bytes
FROM nvidia/cuda:12.6.3-cudnn-devel-ubuntu20.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata \
curl \
git \
cmake \
build-essential \
ffmpeg \
&& apt-get -y clean all
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
RUN uv python install 3.11
WORKDIR $HOME/app
RUN git clone https://github.com/reazon-research/ReazonSpeech
COPY --chown=user . $HOME/app
RUN uv sync
CMD ["uv", "run", "python", "serve.py"]