insurance-chatbot / Dockerfile
๊น€๋ฏผ๊ฒฝ
fix: Dockerfile ๋นŒ๋“œ ์ˆœ์„œ ์ˆ˜์ • + pyproject.toml ๋นŒ๋“œ ์„ค์ • ์ถ”๊ฐ€
96a8963
raw
history blame contribute delete
448 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential && \
rm -rf /var/lib/apt/lists/*
COPY . .
RUN pip install --no-cache-dir .
ENV EMBEDDING_MODEL=intfloat/multilingual-e5-large \
HF_HOME=/app/.hf_cache \
SENTENCE_TRANSFORMERS_HOME=/app/.hf_cache/sentence_transformers
RUN python scripts/init_vectordb.py
ENV API_PORT=7860
EXPOSE 7860
CMD ["python", "run.py"]