kidcoconut commited on
Commit
dc6eb0a
1 Parent(s): 9ef05f6

DEBUG: per hugging spaces dependencies documentation; reqs and packages files will be auto-loaded?

Browse files
Files changed (3) hide show
  1. Dockerfile +3 -3
  2. packages.txt +3 -0
  3. requirements.txt +0 -3
Dockerfile CHANGED
@@ -27,12 +27,12 @@ RUN pip install --no-cache-dir --upgrade pip
27
  #--- set docker image working directory to /app
28
  #--- Not: this is reorg'd in an attempt to reduce the rebuilding of layers
29
  COPY --chown=user ./requirements.txt $HOME/app/requirements.txt
 
30
 
31
  #--- install all lib dependencies into the image
32
  #RUN pip3 install -r $HOME/app/requirements.txt
33
- RUN pip install -r $HOME/app/requirements.txt
34
- #RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
35
- RUN pip
36
 
37
  #--- copy all files from the local pwd to the docker image /app folder
38
  #--- .dockerignore: ensure no local data folders or files (images) are copied into the docker image/container
 
27
  #--- set docker image working directory to /app
28
  #--- Not: this is reorg'd in an attempt to reduce the rebuilding of layers
29
  COPY --chown=user ./requirements.txt $HOME/app/requirements.txt
30
+ COPY --chown=user ./packages.txt $HOME/app/packages.txt
31
 
32
  #--- install all lib dependencies into the image
33
  #RUN pip3 install -r $HOME/app/requirements.txt
34
+ #RUN pip install -r $HOME/app/requirements.txt
35
+ #RUN apt-get update -y && apt-get install -y ffmpeg libsm6 libxext6
 
36
 
37
  #--- copy all files from the local pwd to the docker image /app folder
38
  #--- .dockerignore: ensure no local data folders or files (images) are copied into the docker image/container
packages.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ ffmpeg
2
+ libsm6
3
+ libxext6
requirements.txt CHANGED
@@ -12,7 +12,6 @@
12
  #decorator==5.1.1
13
  #entrypoints==0.4
14
  fastapi==0.95.2
15
- ffmpeg
16
  #gitdb==4.0.10
17
  #git-lfs
18
  #GitPython==3.1.31
@@ -25,8 +24,6 @@ grad-cam
25
  Jinja2==3.1.2
26
  joblib==1.2.0
27
  jsonschema==4.17.3
28
- libsm6
29
- libxext6
30
  #markdown-it-py==2.2.0
31
  #MarkupSafe==2.1.2
32
  #mdurl==0.1.2
 
12
  #decorator==5.1.1
13
  #entrypoints==0.4
14
  fastapi==0.95.2
 
15
  #gitdb==4.0.10
16
  #git-lfs
17
  #GitPython==3.1.31
 
24
  Jinja2==3.1.2
25
  joblib==1.2.0
26
  jsonschema==4.17.3
 
 
27
  #markdown-it-py==2.2.0
28
  #MarkupSafe==2.1.2
29
  #mdurl==0.1.2