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 # Set the working directory to the user's home directory WORKDIR /src/Chat-GPT-LangChain CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "7860"]