mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-09-04 06:29:47 +08:00
.
This commit is contained in:
parent
100ed29ecb
commit
7a57151f47
2
.github/workflows/docker-publish.yaml
vendored
2
.github/workflows/docker-publish.yaml
vendored
@ -103,4 +103,4 @@ jobs:
|
|||||||
xxxxrt666/gpt-sovits:${{ matrix.tag_prefix }}-${{ needs.generate-meta.outputs.tag }}
|
xxxxrt666/gpt-sovits:${{ matrix.tag_prefix }}-${{ needs.generate-meta.outputs.tag }}
|
||||||
xxxxrt666/gpt-sovits:latest-${{ matrix.tag_prefix }}
|
xxxxrt666/gpt-sovits:latest-${{ matrix.tag_prefix }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
# cache-to: type=gha,mode=max
|
24
Dockerfile
24
Dockerfile
@ -16,7 +16,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
g++ \
|
g++ \
|
||||||
wget \
|
wget \
|
||||||
curl \
|
curl \
|
||||||
bzip2 \
|
|
||||||
unzip \
|
unzip \
|
||||||
git \
|
git \
|
||||||
vim \
|
vim \
|
||||||
@ -24,8 +23,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
procps \
|
procps \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
locales \
|
locales \
|
||||||
net-tools \
|
|
||||||
iputils-ping \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /workspace/GPT-SoVITS
|
WORKDIR /workspace/GPT-SoVITS
|
||||||
@ -35,10 +32,21 @@ COPY . /workspace/GPT-SoVITS
|
|||||||
ARG WGET_CMD=wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404
|
ARG WGET_CMD=wget --tries=25 --wait=5 --read-timeout=40 --retry-on-http-error=404
|
||||||
ENV WGET_CMD=${WGET_CMD}
|
ENV WGET_CMD=${WGET_CMD}
|
||||||
|
|
||||||
|
RUN echo "== /usr ==" && du -h --max-depth=1 /usr | sort -hr | head -n 10 && \
|
||||||
|
echo "== /opt ==" && du -h --max-depth=1 /opt | sort -hr | head -n 10 && \
|
||||||
|
echo "== /root ==" && du -h --max-depth=1 /root | sort -hr | head -n 10 && \
|
||||||
|
echo "==workspace==" && du -h --max-depth=1 /workspace/GPTSoVITS | sort -hr | head -n 10
|
||||||
|
|
||||||
RUN eval "$WGET_CMD -O anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh" && \
|
RUN eval "$WGET_CMD -O anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh" && \
|
||||||
bash anaconda.sh -b -p /root/anaconda3 && \
|
bash anaconda.sh -b -p /root/anaconda3 && \
|
||||||
rm anaconda.sh
|
rm anaconda.sh
|
||||||
|
|
||||||
|
|
||||||
|
RUN echo "== /usr ==" && du -h --max-depth=1 /usr | sort -hr | head -n 10 && \
|
||||||
|
echo "== /opt ==" && du -h --max-depth=1 /opt | sort -hr | head -n 10 && \
|
||||||
|
echo "== /root ==" && du -h --max-depth=1 /root | sort -hr | head -n 10 && \
|
||||||
|
echo "==workspace==" && du -h --max-depth=1 /workspace/GPTSoVITS | sort -hr | head -n 10
|
||||||
|
|
||||||
ARG USE_FUNASR=false
|
ARG USE_FUNASR=false
|
||||||
ARG USE_FASTERWHISPER=false
|
ARG USE_FASTERWHISPER=false
|
||||||
|
|
||||||
@ -60,6 +68,11 @@ RUN if [ "$USE_FASTERWHISPER" = "true" ]; then \
|
|||||||
echo "Skipping faster-whisper download" ; \
|
echo "Skipping faster-whisper download" ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
RUN echo "== /usr ==" && du -h --max-depth=1 /usr | sort -hr | head -n 10 && \
|
||||||
|
echo "== /opt ==" && du -h --max-depth=1 /opt | sort -hr | head -n 10 && \
|
||||||
|
echo "== /root ==" && du -h --max-depth=1 /root | sort -hr | head -n 10 && \
|
||||||
|
echo "==workspace==" && du -h --max-depth=1 /workspace/GPTSoVITS | sort -hr | head -n 10
|
||||||
|
|
||||||
ENV PATH="/root/anaconda3/bin:$PATH"
|
ENV PATH="/root/anaconda3/bin:$PATH"
|
||||||
|
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
@ -79,6 +92,11 @@ RUN source /root/anaconda3/etc/profile.d/conda.sh && \
|
|||||||
pip cache purge && \
|
pip cache purge && \
|
||||||
pip show torch
|
pip show torch
|
||||||
|
|
||||||
|
RUN echo "== /usr ==" && du -h --max-depth=1 /usr | sort -hr | head -n 10 && \
|
||||||
|
echo "== /opt ==" && du -h --max-depth=1 /opt | sort -hr | head -n 10 && \
|
||||||
|
echo "== /root ==" && du -h --max-depth=1 /root | sort -hr | head -n 10 && \
|
||||||
|
echo "==workspace==" && du -h --max-depth=1 /workspace/GPTSoVITS | sort -hr | head -n 10
|
||||||
|
|
||||||
RUN rm -rf /root/anaconda3/pkgs
|
RUN rm -rf /root/anaconda3/pkgs
|
||||||
|
|
||||||
EXPOSE 9871 9872 9873 9874 9880
|
EXPOSE 9871 9872 9873 9874 9880
|
||||||
|
Loading…
x
Reference in New Issue
Block a user