diff --git a/AgentQnA/ui/docker/Dockerfile b/AgentQnA/ui/docker/Dockerfile index 1f5605a15..380dffed7 100644 --- a/AgentQnA/ui/docker/Dockerfile +++ b/AgentQnA/ui/docker/Dockerfile @@ -40,8 +40,7 @@ RUN git config --global user.name "opea" && \ WORKDIR /app/open-webui -RUN git checkout ${WEBUI_VERSION} && \ - if [ -d patches ] && [ "$(ls -A patches)" ]; then git am /app/patches/*.patch; fi +RUN git checkout ${WEBUI_VERSION} && git am /app/patches/*.patch WORKDIR /app