mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 11:58:34 +02:00
Fix Dockerfiles
This commit is contained in:
parent
2368166cd1
commit
ed8fe75dd3
@ -8,7 +8,7 @@ COPY ./requirements/default.txt /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./qa_service /app/qa_service
|
||||
COPY ./danswer /app/danswer
|
||||
|
||||
ENV PYTHONPATH .
|
||||
CMD ["uvicorn", "danswer.main:app", "--host", "0.0.0.0", "--port", "8080"]
|
||||
|
@ -8,7 +8,7 @@ COPY ./requirements/default.txt /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./qa_service /app/qa_service
|
||||
COPY ./danswer /app/danswer
|
||||
|
||||
ENV PYTHONPATH .
|
||||
CMD ["python3", "qa_service/background/update.py"]
|
||||
CMD ["python3", "danswer/background/update.py"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user