Fix Dockerfiles

This commit is contained in:
Weves 2023-04-29 12:36:20 -07:00 committed by Chris Weaver
parent 2368166cd1
commit ed8fe75dd3
2 changed files with 3 additions and 3 deletions

View File

@ -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"]

View File

@ -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"]