circulartext commited on
Commit
9fcdba0
1 Parent(s): ffaa113

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use your base Docker image from Docker Hub
2
+ FROM circulartextapp/circulartextai
3
+
4
+ # Set the working directory
5
+ WORKDIR /code
6
+
7
+ # Copy the requirements file and install dependencies
8
+ COPY ./requirements.txt /code/requirements.txt
9
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
10
+
11
+ # Copy the rest of your application files
12
+ COPY . .
13
+
14
+ # Specify the command to run your application
15
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]