Commit
·
40b29fd
1
Parent(s):
34f8392
edit entrypoint command in Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -18,6 +18,6 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 18 |
EXPOSE 8000
|
| 19 |
|
| 20 |
# Run main.py when the container launches
|
| 21 |
-
CMD ["
|
| 22 |
|
| 23 |
USER 1001
|
|
|
|
| 18 |
EXPOSE 8000
|
| 19 |
|
| 20 |
# Run main.py when the container launches
|
| 21 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 22 |
|
| 23 |
USER 1001
|