File size: 522 Bytes
d7a1958
 
 
 
f5e2eff
d7a1958
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM nvidia/cuda:12.2.0-base-ubuntu22.04

RUN apt-get update -y && \
	apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && \
    adduser --disabled-password --gecos '' user && \
	mkdir /content && \
	chown -R user:user /content

WORKDIR /content
USER user
EXPOSE 7860

RUN git clone https://github.com/metavoiceio/metavoice-src && \
    cd /content/metavoice-src && \
    python fam/llm/serving.py --huggingface_repo_id="metavoiceio/metavoice-1B-v0.1" & \
    python fam/ui/app.py