Skip to content

Commit 82ef639

Browse files
authored
hot fix for permission issue (#1849)
Signed-off-by: Yongbozzz <yongbo.zhu@intel.com>
1 parent 29d449b commit 82ef639

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

EdgeCraftRAG/Dockerfile.server

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ COPY ./edgecraftrag /home/user/edgecraftrag
3636
RUN mkdir -p /home/user/ui_cache
3737
ENV UI_UPLOAD_PATH=/home/user/ui_cache
3838

39+
USER user
40+
3941
WORKDIR /home/user/edgecraftrag
4042
RUN pip install --no-cache-dir --upgrade pip setuptools==70.0.0 && \
4143
pip install --no-cache-dir -r requirements.txt
@@ -44,6 +46,5 @@ WORKDIR /home/user/
4446
RUN git clone https://github.com/openvinotoolkit/openvino.genai.git genai
4547
ENV PYTHONPATH="$PYTHONPATH:/home/user/genai/tools/llm_bench"
4648

47-
USER user
4849

4950
ENTRYPOINT ["python", "-m", "edgecraftrag.server"]

0 commit comments

Comments
 (0)