arshtech commited on
Commit
676603a
·
verified ·
1 Parent(s): b94cd39

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Using Python 3.9 base image
2
+ FROM python:3.9
3
+ # Set the working directory to /code
4
+ WORKDIR /code
5
+ # Copy requirements.txt to /code
6
+ COPY ./requirements.txt /code/requirements.txt
7
+ # Install dependencies from requirements.txt
8
+ RUN pip install -r requirements.txt
9
+
10
+ COPY . /code
11
+
12
+ CMD ["gunicorn","main:app","-b","0.0.0.0:7860"]