mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-28 09:08:54 +00:00
dockerfile update, requirements update
This commit is contained in:
+12
-5
@@ -1,24 +1,31 @@
|
|||||||
# Use ubuntu as the base image from the hub
|
# Use ubuntu as the base image from the hub
|
||||||
# then have to build this as a image.
|
# then have to build this as a image.
|
||||||
FROM nvidia/cuda:12.2.0-devel-ubuntu20.04
|
FROM nvidia/cuda:12.2.0-devel-ubuntu20.04
|
||||||
# Optional: Set environment variables
|
|
||||||
ENV MY_ENV_VARIABLE=value
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
# Optional: Run commands to set up the image
|
|
||||||
RUN apt-get update && apt-get install -y curl
|
RUN apt-get update && apt-get install -y curl
|
||||||
|
|
||||||
# Preconfigure package selections (as an example)
|
# Preconfigure package selections (as an example)
|
||||||
RUN echo "package-name package-name/some-option select option-value" | debconf-set-selections && \
|
RUN echo "package-name package-name/some-option select option-value" | debconf-set-selections && \
|
||||||
apt-get install -y software-properties-common
|
apt-get install -y software-properties-common
|
||||||
|
|
||||||
RUN apt install software-properties-common -y
|
RUN apt install software-properties-common -y
|
||||||
|
|
||||||
RUN add-apt-repository ppa:deadsnakes/ppa
|
RUN add-apt-repository ppa:deadsnakes/ppa
|
||||||
RUN apt install python3.10 -y
|
|
||||||
|
RUN sudo apt-get update
|
||||||
|
RUN sudo apt-get install python3.8 python3.8-venv python3.8-dev
|
||||||
|
|
||||||
|
#RUN apt install python3.10 -y
|
||||||
RUN apt-get install -y git
|
RUN apt-get install -y git
|
||||||
RUN sudo apt install ffmpeg
|
RUN sudo apt install ffmpeg
|
||||||
|
|
||||||
|
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
|
|
||||||
# RUN pwd
|
# RUN pwd
|
||||||
RUN pip3 install requirements.txt
|
RUN pip3 install requirements-pinned.txt
|
||||||
|
|
||||||
# Navigate to the cloned directory and checkout the specific commit
|
# Navigate to the cloned directory and checkout the specific commit
|
||||||
WORKDIR TestingDockerIO
|
WORKDIR TestingDockerIO
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
soundfile
|
||||||
|
numpy
|
||||||
|
torch
|
||||||
|
torchvision
|
||||||
|
torchaudio
|
||||||
|
tokenizers
|
||||||
|
encodec
|
||||||
|
langid
|
||||||
|
wget
|
||||||
|
unidecode
|
||||||
|
pyopenjtalk-prebuilt
|
||||||
|
pypinyin
|
||||||
|
inflect
|
||||||
|
cn2an
|
||||||
|
jieba
|
||||||
|
eng_to_ipa
|
||||||
|
# openai-whisper
|
||||||
|
openai-whisper==20230918
|
||||||
|
phonemizer==3.2.0
|
||||||
|
matplotlib
|
||||||
|
gradio
|
||||||
|
nltk
|
||||||
|
sudachipy
|
||||||
|
sudachidict_core
|
||||||
|
vocos
|
||||||
Reference in New Issue
Block a user