Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -33,8 +33,8 @@ RUN mkdir -p uploads vectordb
|
|
33 |
EXPOSE 8000
|
34 |
|
35 |
# Set healthcheck
|
36 |
-
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
37 |
-
CMD curl -f http://localhost:8000/health || exit 1
|
38 |
|
39 |
# Command to run the application
|
40 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
33 |
EXPOSE 8000
|
34 |
|
35 |
# Set healthcheck
|
36 |
+
# HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
37 |
+
# CMD curl -f http://localhost:8000/health || exit 1
|
38 |
|
39 |
# Command to run the application
|
40 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|