daniel-de-leon commited on
Commit
5c4e4a0
1 Parent(s): 2b4d9fc

go back to python docker because intel docker not ready to be used

Browse files
Files changed (3) hide show
  1. Dockerfile +4 -4
  2. packages.txt +2 -0
  3. requirements.txt +1 -5
Dockerfile CHANGED
@@ -1,4 +1,5 @@
1
- FROM intel/oneapi-aikit
 
2
  #FROM intel/deep-learning:2023.2-py3.10
3
 
4
  WORKDIR /app
@@ -6,9 +7,7 @@ WORKDIR /app
6
  COPY ./requirements.txt /app/requirements.txt
7
  COPY ./packages.txt /app/packages.txt
8
 
9
- #RUN xargs -r -a /app/packages.txt zypper install -y && rm -rf /var/lib/apt/lists/*
10
-
11
- #RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
12
  RUN pip3 install --no-cache-dir -r /app/requirements.txt
13
 
14
  # User
@@ -24,6 +23,7 @@ COPY . $HOME/app
24
 
25
  EXPOSE 8501
26
  CMD streamlit run app.py \
 
27
  --server.headless true \
28
  --server.enableCORS false \
29
  --server.enableXsrfProtection false \
 
1
+ FROM python:3.10
2
+ #FROM intel/oneapi-aikit
3
  #FROM intel/deep-learning:2023.2-py3.10
4
 
5
  WORKDIR /app
 
7
  COPY ./requirements.txt /app/requirements.txt
8
  COPY ./packages.txt /app/packages.txt
9
 
10
+ RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
 
 
11
  RUN pip3 install --no-cache-dir -r /app/requirements.txt
12
 
13
  # User
 
23
 
24
  EXPOSE 8501
25
  CMD streamlit run app.py \
26
+ #--server.address="localhost" \
27
  --server.headless true \
28
  --server.enableCORS false \
29
  --server.enableXsrfProtection false \
packages.txt CHANGED
@@ -0,0 +1,2 @@
 
 
 
1
+ build-essential
2
+ python3-dev
requirements.txt CHANGED
@@ -1,6 +1,2 @@
1
  streamlit
2
- transformers
3
- shap
4
- torch
5
- matplotlib
6
- numpy
 
1
  streamlit
2
+ intel-xai