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