Spaces:
Runtime error
Runtime error
File size: 378 Bytes
5f3b20a c623396 5f3b20a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FROM python:3.10
WORKDIR /app
COPY . /app
# /tmp ๋๋ ํ ๋ฆฌ ์์ฑ ๋ฐ ๊ถํ ๋ถ์ฌ
RUN mkdir -p /tmp && chmod 1777 /tmp
# TMPDIR ํ๊ฒฝ๋ณ์๋ฅผ ์ง์ ํ์ฌ pip install ์คํ
RUN TMPDIR=/tmp pip install --upgrade pip && TMPDIR=/tmp pip install --no-cache-dir -r requirements.txt -U
EXPOSE 8500
CMD ["uvicorn", "rag_server:app", "--host", "0.0.0.0", "--port", "8500"]
|