mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-30 01:30:21 +02:00
Sample Kubernetes deployment with Auth default on Also includes a bugfix for credentialed connectors with Auth turned on
20 lines
604 B
Docker
20 lines
604 B
Docker
FROM python:3.11-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 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY ./requirements/default.txt /tmp/requirements.txt
|
|
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt
|
|
RUN playwright install
|
|
RUN playwright install-deps
|
|
|
|
WORKDIR /app
|
|
COPY ./danswer /app/danswer
|
|
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
|
|
ENV PYTHONPATH /app
|
|
CMD ["/usr/bin/supervisord"]
|