hassan526 commited on
Commit
ca9373d
·
verified ·
1 Parent(s): 075922f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -3,7 +3,6 @@ FROM ubuntu:22.04
3
  # Set the timezone of the container
4
  ENV CONTAINER_TIMEZONE=UTC
5
  RUN ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && echo $CONTAINER_TIMEZONE > /etc/timezone
6
- ENV PATH="/home/user/.local/bin:$PATH"
7
 
8
  # Create directory for the application
9
  RUN mkdir -p /home/recognito_id
@@ -20,7 +19,7 @@ ADD https://huggingface.co/recognito/ID-Document-Liveness-Detection-Models/resol
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 unzip && rm -rf /var/lib/apt/lists/*
24
  RUN unzip ./model.zip -d ./id_live/engine/ && rm ./model.zip
25
  RUN ./install.sh
26
 
 
3
  # Set the timezone of the container
4
  ENV CONTAINER_TIMEZONE=UTC
5
  RUN ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && echo $CONTAINER_TIMEZONE > /etc/timezone
 
6
 
7
  # Create directory for the application
8
  RUN mkdir -p /home/recognito_id
 
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 unzip
23
  RUN unzip ./model.zip -d ./id_live/engine/ && rm ./model.zip
24
  RUN ./install.sh
25