hassan526 commited on
Commit
3ae2b98
·
verified ·
1 Parent(s): 0328d3e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -14,15 +14,15 @@ WORKDIR /home/recognito_id
14
  COPY . .
15
 
16
  ADD https://huggingface.co/recognito/ID-Document-Liveness-Detection-Models/resolve/main/model.tar.xz .
17
- RUN tar -xvJf ./model.tar.xz -C ./id_live/engine/ && rm ./model.tar.xz
18
 
19
  # Make the scripts executable
20
  RUN chmod +x install.sh run_demo.sh
21
 
22
  # Run the install.sh script to perform any installation tasks
23
- RUN apt-get update && apt-get install -y sudo
24
  RUN ./install.sh
25
 
 
26
  RUN chmod -R 777 .
27
 
28
  # Expose port 8000(flask), 7860(gradio)
 
14
  COPY . .
15
 
16
  ADD https://huggingface.co/recognito/ID-Document-Liveness-Detection-Models/resolve/main/model.tar.xz .
 
17
 
18
  # Make the scripts executable
19
  RUN chmod +x install.sh run_demo.sh
20
 
21
  # Run the install.sh script to perform any installation tasks
22
+ RUN apt-get update && apt-get install -y sudo xz-utils
23
  RUN ./install.sh
24
 
25
+ RUN tar -xvJf ./model.tar.xz -C ./id_live/engine/ && rm ./model.tar.xz
26
  RUN chmod -R 777 .
27
 
28
  # Expose port 8000(flask), 7860(gradio)