Spaces:
Sleeping
Sleeping
wip
Browse files- Dockerfile +1 -1
- 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"
|
|
|
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"
|