Manofem commited on
Commit
da58145
·
1 Parent(s): e86888e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use an official Python runtime as a parent image
2
+ FROM python:3.8
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /app
6
+
7
+ # Clone the Git repository into the container
8
+ RUN git clone https://github.com/s0md3v/roop.git .
9
+
10
+ # Install any dependencies
11
+ RUN pip install -r requirements.txt
12
+
13
+ # Expose the port on which the Uvicorn server will run
14
+ EXPOSE 7860
15
+
16
+ # Specify the command to run on container start
17
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]