FROM python:3.10.9 | |
WORKDIR /src | |
COPY ./AllInOneApp /src/ | |
COPY ./requirements.txt /src/requirements.txt | |
COPY ./langchain-0.0.94-py3-none-any.whl /src/langchain-0.0.94-py3-none-any.whl | |
RUN pip install --no-cache-dir /src/langchain-0.0.94-py3-none-any.whl | |
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"] | |
# 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"] |