Vespa Deployment (#330)

Large Change!
This commit is contained in:
Yuhong Sun
2023-08-26 15:35:19 -07:00
committed by GitHub
parent 642862bede
commit a2ec1e2cda
25 changed files with 584 additions and 289 deletions

View File

@@ -3,7 +3,7 @@ FROM python:3.11.4-slim-bullseye
RUN apt-get update \
&& apt-get install -y git cmake pkg-config libprotobuf-c-dev protobuf-compiler \
libprotobuf-dev libgoogle-perftools-dev libpq-dev build-essential cron curl \
supervisor \
supervisor zip \
&& rm -rf /var/lib/apt/lists/*
COPY ./requirements/default.txt /tmp/requirements.txt
@@ -17,6 +17,10 @@ COPY ./alembic /app/alembic
COPY ./alembic.ini /app/alembic.ini
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
WORKDIR /app/danswer/datastores/vespa/app_config
RUN zip -r /app/danswer/vespa-app.zip .
WORKDIR /app
ENV PYTHONPATH /app
# By default this container does nothing, it is used by api server and background which specify their own CMD