|
FROM ffahmed/deep-learning:vigdocker_azurecr_io_amsword_setup_py38pt112cu11_allinoneapp
|
|
|
|
WORKDIR /src
|
|
|
|
COPY ./AllInOneApp /src/
|
|
|
|
COPY ./requirements.txt /src/requirements.txt
|
|
|
|
RUN apt-get update && apt-get install -y curl
|
|
|
|
RUN curl -ksSL https://install.python-poetry.org | python
|
|
|
|
RUN cd /src/langchain && /root/.local/bin/poetry install
|
|
|
|
RUN pip install --no-cache-dir --upgrade -r /src/requirements.txt
|
|
|
|
WORKDIR /src
|
|
|
|
|
|
WORKDIR /src/Chat-GPT-LangChain
|
|
|
|
|
|
CMD ["python", "app.py", "--port", "7860", "--openAIModel", "azureChatGPT", "--noIntermediateConv"] |