kidcoconut commited on
Commit
9ef05f6
·
1 Parent(s): 6e30322

DEBUG: updated permissions under userId 1000 per huggingFace Docker spaces guidelines

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements.txt +3 -0
Dockerfile CHANGED
@@ -31,7 +31,8 @@ COPY --chown=user ./requirements.txt $HOME/app/requirements.txt
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
 
36
  #--- copy all files from the local pwd to the docker image /app folder
37
  #--- .dockerignore: ensure no local data folders or files (images) are copied into the docker image/container
 
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
requirements.txt CHANGED
@@ -12,6 +12,7 @@
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,6 +25,8 @@ grad-cam
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
 
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
  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