Spaces:
Sleeping
Sleeping
Commit ·
7e1744c
1
Parent(s): b1b7d54
final fix - remove auto inference run
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -4,6 +4,6 @@ WORKDIR /app
|
|
| 4 |
|
| 5 |
COPY . .
|
| 6 |
|
| 7 |
-
RUN pip install --no-cache-dir openai
|
| 8 |
|
| 9 |
-
CMD ["
|
|
|
|
| 4 |
|
| 5 |
COPY . .
|
| 6 |
|
| 7 |
+
RUN pip install --no-cache-dir fastapi uvicorn openai
|
| 8 |
|
| 9 |
+
CMD ["uvicorn", "api.server:app", "--host", "0.0.0.0", "--port", "7860"]
|