mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-10-29 08:49:07 +00:00
* Added starter code for frontend demo * worked on comments * Added Docker config for frontend * update docker file. restructure folder structure. minimal renamings and defaults * add screenshot to readme Co-authored-by: Malte Pietsch <malte.pietsch@deepset.ai>
19 lines
352 B
Docker
19 lines
352 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/
|
|
|
|
# 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"]
|