Skip to content

Commit c6b1a21

Browse files
committed
minor fix
Signed-off-by: Yongbozzz <yongbo.zhu@intel.com>
1 parent d287d00 commit c6b1a21

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

EdgeCraftRAG/Dockerfile.server

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ FROM python:3.11-slim
33
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
44
RUN apt-get update && apt-get install -y gnupg2 wget git
55
RUN apt-get remove -y libze-intel-gpu1 libigc1 libigdfcl1 libze-dev || true; \
6-
   apt-get update; \
7-
   apt-get install -y curl
6+
apt-get update; \
7+
apt-get install -y curl
88
RUN curl -sL 'https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x0C0E6AF955CE463C03FC51574D098D70AFBE5E1F' | tee /etc/apt/trusted.gpg.d/driver.asc
99
RUN echo -e "Types: deb\nURIs: https://ppa.launchpadcontent.net/kobuk-team/intel-graphics/ubuntu/\nSuites: plucky\nComponents: main\nSigned-By: /etc/apt/trusted.gpg.d/driver.asc" > /etc/apt/sources.list.d/driver.sources
1010
RUN apt update && apt-get install -y libze-intel-gpu1 libze1 intel-metrics-discovery intel-opencl-icd clinfo intel-gsc && apt-get install -y libze-intel-gpu1 libze1 intel-metrics-discovery intel-opencl-icd clinfo intel-gsc && apt-get install -y libze-dev intel-ocloc libze-intel-gpu-raytracing
1111

1212
RUN useradd -m -s /bin/bash user && \
13-
   mkdir -p /home/user && \
14-
   chown -R user /home/user/
13+
mkdir -p /home/user && \
14+
chown -R user /home/user/
1515

1616
RUN mkdir /templates && \
17-
   chown -R user /templates
17+
chown -R user /templates
1818
COPY ./edgecraftrag/prompt_template/default_prompt.txt /templates/
1919
RUN chown -R user /templates/default_prompt.txt
2020

@@ -27,7 +27,7 @@ USER user
2727

2828
WORKDIR /home/user/edgecraftrag
2929
RUN pip3 install --no-cache-dir --upgrade setuptools==70.0.0 --break-system-packages && \
30-
   pip3 install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt --break-system-packages
30+
pip3 install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt --break-system-packages
3131

3232
RUN pip3 install --no-cache-dir docarray==0.40.0 --break-system-packages
3333

0 commit comments

Comments
 (0)