diff --git a/Dockerfile b/Dockerfile index 491aab9..3ba7cb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM python:3.12.4-slim COPY . . # 필요 패키지 설치 -RUN pip install --upgrade pip +RUN pip install --upgrade pip setuptools wheel RUN pip install --use-pep517 --no-cache-dir -r requirements.txt ENTRYPOINT ["uvicorn", "ai_server.py:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/requirements.txt b/requirements.txt index 1407694..0abbdc3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,10 @@ fastapi -pydantic uvicorn +pydantic +dotenv elasticsearch sentence-transformers -langchain_community -langchain-openai -langchain-core openai -dotenv \ No newline at end of file +langchain-core +langchain-openai +langchain_community \ No newline at end of file