Combine Images Cleanup (#188)

This commit is contained in:
Yuhong Sun
2023-07-16 15:31:52 -07:00
committed by GitHub
parent d1003b913b
commit 554f6f3fe7
8 changed files with 34 additions and 17 deletions

View File

@@ -18,4 +18,6 @@ COPY ./alembic.ini /app/alembic.ini
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ENV PYTHONPATH /app
CMD ["/bin/sh", "-c", "alembic upgrade head && echo \"Starting Danswer Api Server\" && uvicorn danswer.main:app --host 0.0.0.0 --port 8080"]
# By default this container does nothing, it is used by api server and background which specify their own CMD
CMD ["tail", "-f", "/dev/null"]