Skip to content

Commit

Permalink
chore: fix eval dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanture1064 committed Jan 30, 2024
1 parent 01dd83b commit cca8323
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/evaluation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ RUN export DEBIAN_FRONTEND=noninteractive \
# Official: https://pypi.org/simple
ARG PYTHON_INDEX_URL=https://pypi.mirrors.ustc.edu.cn/simple/

WORKDIR /app
WORKDIR /usr/local/bin
COPY --from=builder /go/src/cmd/arctl ./arctl
RUN python -m pip install ragas langchain -i ${PYTHON_INDEX_URL}
RUN python -m pip install ragas langchain==0.0.354 -i ${PYTHON_INDEX_URL}

# build ragas-once by source code
COPY ./pypi/ragas_once ./ragas_once
WORKDIR /app/ragas_once
RUN python setup.py bdist_wheel -d /app/ragas_once/dist
WORKDIR /usr/local/bin/ragas_once
RUN python setup.py bdist_wheel -d /usr/local/bin/ragas_once/dist
RUN pip install dist/ragas_once-0.0.1-py3-none-any.whl

0 comments on commit cca8323

Please sign in to comment.