haihuynh commited on
Commit
1bc904e
1 Parent(s): 967d19e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -6,7 +6,8 @@ FROM python:3.9
6
  FROM python:latest
7
 
8
  RUN apt-get update \
9
- && apt-get install unzip
 
10
 
11
  # RUN unzip img_align_celeba.zip -d .
12
 
@@ -32,7 +33,7 @@ RUN gdown --id 0B7EVK8r0v71pZjFTYXZWM3FlRnM
32
  COPY --chown=user . $HOME/app
33
  # RUN n_files=`unzip -l image_align_celeba.zip | tail -n 1 | xargs echo -n | cut -d' ' -f2`
34
  # RUN unzip -oq img_align_celeba.zip | tqdm --desc extracted --unit files --unit_scale --total $n_files > /dev/null
35
- RUN unzip -q img_align_celeba.zip | tqdm > /dev/null
36
 
37
  # RUN pip install -r requirements.txt
38
  # RUN python cbir_system.py
 
6
  FROM python:latest
7
 
8
  RUN apt-get update \
9
+ && apt-get install unzip \
10
+ && apt install pv
11
 
12
  # RUN unzip img_align_celeba.zip -d .
13
 
 
33
  COPY --chown=user . $HOME/app
34
  # RUN n_files=`unzip -l image_align_celeba.zip | tail -n 1 | xargs echo -n | cut -d' ' -f2`
35
  # RUN unzip -oq img_align_celeba.zip | tqdm --desc extracted --unit files --unit_scale --total $n_files > /dev/null
36
+ RUN unzip -q img_align_celeba.zip | pv -l >/dev/null
37
 
38
  # RUN pip install -r requirements.txt
39
  # RUN python cbir_system.py