Jintao Huang
commited on
Commit
•
8d03802
1
Parent(s):
f0176d7
remove dockerfile.txt
Browse files- dockerfile.txt +0 -19
dockerfile.txt
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
M registry.us-west-1.aliyuncs.com/modelscope-repo/modelscope:ubuntu20.04-cuda11.7.1-py38-torch2.0.1-tf1.15.5-1.8.1
|
2 |
-
RUN useradd -m -u 1000 user
|
3 |
-
USER user
|
4 |
-
ENV HOME=/home/user \
|
5 |
-
PATH=/home/user/.local/bin:$PATH
|
6 |
-
WORKDIR $HOME
|
7 |
-
RUN chmod 777 $HOME
|
8 |
-
RUN mkdir $HOME/modelscope_cache
|
9 |
-
ENV MODELSCOPE_CACHE=$HOME/modelscope_cache
|
10 |
-
ENV GRADIO_SERVER_NAME=0.0.0.0
|
11 |
-
EXPOSE 7860
|
12 |
-
RUN pip install gradio
|
13 |
-
RUN echo 'cloning facechain:hf_space'
|
14 |
-
RUN git clone -b feat/hf_space https://github.com/modelscope/facechain.git
|
15 |
-
WORKDIR $HOME/facechain
|
16 |
-
RUN pip install -r requirements.txt
|
17 |
-
ENV PYTHONPATH=.
|
18 |
-
CMD ["python", "app.py"]
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|