mirror of
https://github.com/Azure-Samples/graphrag-accelerator.git
synced 2025-08-31 12:39:05 +00:00

Co-authored-by: americanthinker <americanthinker@gmail.com> Co-authored-by: Tim <timothymeyers@users.noreply.github.com> Co-authored-by: Christine Caggiano <cdifonzo@microsoft.com>
19 lines
459 B
Plaintext
19 lines
459 B
Plaintext
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
|
|
FROM python:3.10
|
|
|
|
ENV PIP_ROOT_USER_ACTION=ignore
|
|
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
|
|
ENV SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
|
|
COPY poetry.lock pyproject.toml /
|
|
COPY frontend /frontend
|
|
RUN pip install poetry \
|
|
&& poetry config virtualenvs.create false \
|
|
&& poetry install --without backend
|
|
|
|
WORKDIR /frontend
|
|
EXPOSE 8080
|
|
CMD ["streamlit", "run", "app.py", "--server.port", "8080"]
|