haystack/ui/Dockerfile
Stefano Fiorucci 8c1a34494d
refactor: update package strategy in ui (#3396)
* update ui package: first try

* update README

* fixes

* update schemas

* restore schemas

* use matrix folder in tests

* fix tests

* fix schemas

* really fix schemas

* don't use matrix folder

* remove blank line

* cleaner pytest command
2022-10-20 12:18:03 +02:00

17 lines
309 B
Docker

FROM python:3.7.4-stretch
# RUN apt-get update && apt-get install -y curl git pkg-config cmake
# copy code
COPY . /ui
# install as a package
RUN pip install --upgrade pip && \
pip install /ui/
WORKDIR /ui
EXPOSE 8501
# cmd for running the API
CMD ["python", "-m", "streamlit", "run", "ui/webapp.py"]