Boka73 commited on
Commit
93c3b8a
·
verified ·
1 Parent(s): 48627aa

update run.py

Browse files
Files changed (1) hide show
  1. run.py +14 -4
run.py CHANGED
@@ -1,6 +1,16 @@
1
- #!/usr/bin/env python3
 
2
 
3
- from roop import core
 
4
 
5
- if __name__ == "__main__":
6
- core.run()
 
 
 
 
 
 
 
 
 
1
+ # making app folder
2
+ WORKDIR /app
3
 
4
+ # copying files
5
+ COPY
6
 
7
+ # installing requirements
8
+ RUN apt-get update
9
+ RUN apt-get install ffmpeg -y
10
+ RUN pip install --upgrade pip
11
+ RUN pip install -r ./requirements.txt
12
+
13
+ # launching gradio app
14
+ ENV GRADIO_SERVER_NAME="0.0.0.0"
15
+ EXPOSE 7860
16
+ ENTRYPOINT python ./run.py