Serdar commited on
Commit
944e71b
·
1 Parent(s): fae8399
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. docker-compose.yml +9 -0
Dockerfile CHANGED
@@ -8,4 +8,4 @@ WORKDIR /api
8
  RUN pip install --upgrade pip
9
  RUN pip install -r requirements.txt
10
 
11
- CMD ["uvicorn", "sabiduria_tool_api.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
8
  RUN pip install --upgrade pip
9
  RUN pip install -r requirements.txt
10
 
11
+ CMD ["uvicorn", "sabiduria_tool_api.main:app", "--host", "0.0.0.0"]
docker-compose.yml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ version: '3.8'
2
+
3
+ services:
4
+ sabiduria-api:
5
+ build:
6
+ context: . # The build context is the current directory where the Dockerfile is located
7
+ dockerfile: Dockerfile # The name of your Dockerfile
8
+ ports:
9
+ - "7860:7860"