dockerfile update, requirements update

This commit is contained in:
Brandon Thomas
2023-11-17 04:25:59 -05:00
parent 5d4303e44e
commit f0947a67b7
2 changed files with 37 additions and 5 deletions
+12 -5
View File
@@ -1,24 +1,31 @@
# Use ubuntu as the base image from the hub
# then have to build this as a image.
FROM nvidia/cuda:12.2.0-devel-ubuntu20.04
# Optional: Set environment variables
ENV MY_ENV_VARIABLE=value
ENV DEBIAN_FRONTEND=noninteractive
# Optional: Run commands to set up the image
RUN apt-get update && apt-get install -y curl
# Preconfigure package selections (as an example)
RUN echo "package-name package-name/some-option select option-value" | debconf-set-selections && \
apt-get install -y software-properties-common
RUN apt install software-properties-common -y
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 sudo apt install ffmpeg
# Clone the repository
# RUN pwd
RUN pip3 install requirements.txt
RUN pip3 install requirements-pinned.txt
# Navigate to the cloned directory and checkout the specific commit
WORKDIR TestingDockerIO
+25
View File
@@ -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