File tree 5 files changed +7
-6
lines changed
5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ COPY --from=git $HOME/GenAIComps/comps $HOME/GenAIComps/comps
32
32
COPY --from=git $HOME/GenAIComps/*.* $HOME/GenAIComps/LICENSE $HOME/GenAIComps/
33
33
34
34
WORKDIR $HOME/GenAIComps
35
- RUN pip install --no-cache-dir --upgrade pip && \
35
+ RUN pip install --no-cache-dir --upgrade pip setuptools && \
36
36
pip install --no-cache-dir -r $HOME/GenAIComps/requirements.txt
37
37
WORKDIR $HOME
38
38
Original file line number Diff line number Diff line change 2
2
# Copyright (C) 2024 Intel Corporation
3
3
# SPDX-License-Identifier: Apache-2.0
4
4
5
- set -xe
5
+ set -e
6
6
IMAGE_REPO=${IMAGE_REPO:- " opea" }
7
7
IMAGE_TAG=${IMAGE_TAG:- " latest" }
8
8
echo " REGISTRY=IMAGE_REPO=${IMAGE_REPO} "
@@ -47,7 +47,6 @@ function start_services() {
47
47
export NUM_CARDS=1
48
48
export INDEX_NAME=" rag-redis"
49
49
export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
50
- export HF_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
51
50
export host_ip=${ip_address}
52
51
export JAEGER_IP=$( ip route get 8.8.8.8 | grep -oP ' src \K[^ ]+' )
53
52
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=grpc://$JAEGER_IP :4317
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ RUN mkdir -p /home/user/gradio_cache
37
37
ENV GRADIO_TEMP_DIR=/home/user/gradio_cache
38
38
39
39
WORKDIR /home/user/edgecraftrag
40
- RUN pip install --no-cache-dir -r requirements.txt
40
+ RUN pip install --no-cache-dir --upgrade pip setuptools && \
41
+ pip install --no-cache-dir -r requirements.txt
41
42
42
43
WORKDIR /home/user/
43
44
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ RUN mkdir -p /home/user/gradio_cache
15
15
ENV GRADIO_TEMP_DIR=/home/user/gradio_cache
16
16
17
17
WORKDIR /home/user/ui
18
- RUN pip install --no-cache-dir -r requirements.txt
18
+ RUN pip install --no-cache-dir --upgrade pip setuptools && \
19
+ pip install --no-cache-dir -r requirements.txt
19
20
20
21
USER user
21
22
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y curl && \
9
9
rm -rf /var/lib/apt/lists/*
10
10
11
11
12
- RUN pip install --no-cache-dir --upgrade pip && \
12
+ RUN pip install --no-cache-dir --upgrade pip setuptools && \
13
13
pip install --no-cache-dir streamlit
14
14
15
15
COPY ui.py /app/ui.py
You can’t perform that action at this time.
0 commit comments