text-to-speech / Dockerfile
lojban's picture
initial commit
570c8ab
raw
history blame contribute delete
769 Bytes
FROM docker.io/library/python:3.8.9
RUN pip install pip==22.0.2
RUN mkdir app
WORKDIR /home/user/app
COPY requirements.txt requirements.txt
COPY packages.txt /root/packages.txt
RUN apt-get update && apt-get install -y git-lfs
RUN git lfs install
RUN apt-get update && xargs -r -a /root/packages.txt apt-get install -y
RUN pip install datasets huggingface-hub jurigged
RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx vim
RUN pip install streamlit==1.10.0 "protobuf<4" "click<8.1" gradio==3.11.0
# app-specific stuff
RUN pip install -r /home/user/app/requirements.txt
RUN useradd -m -u 1000 user
COPY --chown=user ./app.py /home/user/app/app.py
COPY --chown=user ./assets /home/user/app/assets
# CMD jurigged -v app.py