Signed-off-by: ZePan110 <ze.pan@intel.com> Signed-off-by: chensuyue <suyue.chen@intel.com> Signed-off-by: Zhu, Yongbo <yongbo.zhu@intel.com> Signed-off-by: Wang, Xigui <xigui.wang@intel.com> Co-authored-by: ZePan110 <ze.pan@intel.com> Co-authored-by: chen, suyue <suyue.chen@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: xiguiw <111278656+xiguiw@users.noreply.github.com> Co-authored-by: lvliang-intel <liang1.lv@intel.com>
23 lines
523 B
XML
23 lines
523 B
XML
FROM python:3.11-slim
|
|
|
|
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
|
|
libgl1-mesa-glx \
|
|
libjemalloc-dev
|
|
|
|
RUN useradd -m -s /bin/bash user && \
|
|
mkdir -p /home/user && \
|
|
chown -R user /home/user/
|
|
|
|
COPY ./ui/gradio /home/user/ui
|
|
COPY ./edgecraftrag /home/user/edgecraftrag
|
|
|
|
WORKDIR /home/user/edgecraftrag
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
WORKDIR /home/user/ui
|
|
|
|
USER user
|
|
|
|
RUN echo 'ulimit -S -n 999999' >> ~/.bashrc
|
|
|
|
ENTRYPOINT ["python", "ecragui.py"] |