We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f17fdb commit 055638fCopy full SHA for 055638f
services/chatbot/Dockerfile
@@ -16,5 +16,6 @@ COPY src /app
16
COPY certs /app/certs
17
COPY retrieval /app/retrieval
18
ENV PYTHONPATH "${PYTHONPATH}:/app"
19
-CMD /entrypoint.sh
+COPY entrypoint.sh /app/entrypoint.sh
20
+CMD /app/entrypoint.sh
21
EXPOSE 5002
services/chatbot/entrypoint.sh
@@ -31,3 +31,4 @@ if [ "$TLS_ENABLED" = "true" ] || [ "$TLS_ENABLED" = "1" ]; then
31
gunicorn --workers=1 --threads=20 --timeout 60 --bind 0.0.0.0:${SERVER_PORT} --certfile $TLS_CERTIFICATE --keyfile $TLS_KEY --log-level=debug chatbot_api:app
32
else:
33
gunicorn --bind 0.0.0.0:${SERVER_PORT} chatbot_api:app
34
+fi
0 commit comments