forked from SayanoAI/RVC-Studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (25 loc) · 778 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM python:3.10-slim-bullseye
WORKDIR /app
RUN --mount=type=cache,target=/root/.cache apt-get update && \
apt-get install -y -qq \
ffmpeg \
espeak \
libportaudio2 \
build-essential \
cmake \
python3-dev \
portaudio19-dev \
python3-pyaudio
COPY ./requirements.txt ./requirements.txt
RUN --mount=type=cache,target=/root/.cache pip install -r requirements.txt
COPY . .
VOLUME ["/app/models", "/app/output", "/app/datasets", "/app/logs", "/app/songs", "/app/.cache" ]
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
# RVC server
EXPOSE 5555
# Webui server
EXPOSE 8501
# Tensorboard server
EXPOSE 6006
ENV PATH="$PATH:/app/:/"
ENTRYPOINT ["streamlit", "run", "Home.py", "--server.port=8501", "--server.address=0.0.0.0"]