mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-27 06:58:35 +00:00
* first running version of eval mode * restructuring, new naming of elements and testing * add new files to Docker, how to start with Haystack reference, remove not needed dependencies * Add latest docstring and tutorial changes * merged changes * fixing bugs after breaking changes from last release * newser version of states in streamlit, more docs for eval mode, eval file as env virable * eval file as env variable Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
21 lines
426 B
Docker
21 lines
426 B
Docker
FROM python:3.7.4-stretch
|
|
|
|
WORKDIR /home/user
|
|
|
|
RUN apt-get update && apt-get install -y curl git pkg-config cmake
|
|
|
|
# copy code
|
|
COPY utils.py /home/user/
|
|
COPY webapp.py /home/user/
|
|
COPY eval_labels_example.csv /home/user/
|
|
COPY SessionState.py /home/user/
|
|
|
|
# install as a package
|
|
COPY requirements.txt /home/user/
|
|
RUN pip install -r requirements.txt
|
|
|
|
EXPOSE 8501
|
|
|
|
# cmd for running the API
|
|
CMD ["streamlit", "run", "webapp.py"]
|