Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -13,6 +13,7 @@ WORKDIR /app/commandr-api-local
|
|
13 |
RUN pip3 install --upgrade pip
|
14 |
|
15 |
RUN pip3 install -r requirements.txt
|
|
|
16 |
|
17 |
# CMD ["python", "app.py"]
|
18 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
13 |
RUN pip3 install --upgrade pip
|
14 |
|
15 |
RUN pip3 install -r requirements.txt
|
16 |
+
RUN pip install fastapi uvicorn
|
17 |
|
18 |
# CMD ["python", "app.py"]
|
19 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|