jclyo1 commited on
Commit
c033fde
1 Parent(s): 5ed4a9c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -7
Dockerfile CHANGED
@@ -6,6 +6,7 @@ FROM nvidia/cuda:12.0.0-cudnn8-devel-ubuntu22.04
6
  # Python and Pip
7
  RUN apt-get update && apt-get install -y \
8
  python3-pip \
 
9
  wget
10
 
11
 
@@ -28,16 +29,10 @@ ENV HOME=/home/user \
28
  # Set the working directory to the user's home directory
29
  WORKDIR $HOME/app
30
 
31
- # Download and uzip truepic-sign from Google Drive
32
- # RUN pip install gdown
33
- # RUN --mount=type=secret,id=truepic_sign_gdoc_id,mode=0444,required=true \
34
- # gdown --id $(cat /run/secrets/truepic_sign_gdoc_id)
35
- # RUN tar -xf truepic-lens-cli-v0.4.0-ubuntu-20.04.tar.gz
36
-
37
  # Download and unzip truepic-sign from Dropbox
38
  RUN --mount=type=secret,id=truepic_sign_dropbox_url,mode=0444,required=true \
39
  wget -O truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip $(cat /run/secrets/truepic_sign_dropbox_url)
40
- # RUN unzip truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip
41
  RUN tar -xf truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.tar.gz
42
 
43
  RUN chmod +x truepic
 
6
  # Python and Pip
7
  RUN apt-get update && apt-get install -y \
8
  python3-pip \
9
+ unzip \
10
  wget
11
 
12
 
 
29
  # Set the working directory to the user's home directory
30
  WORKDIR $HOME/app
31
 
 
 
 
 
 
 
32
  # Download and unzip truepic-sign from Dropbox
33
  RUN --mount=type=secret,id=truepic_sign_dropbox_url,mode=0444,required=true \
34
  wget -O truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip $(cat /run/secrets/truepic_sign_dropbox_url)
35
+ RUN unzip truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.zip
36
  RUN tar -xf truepic-lens-cli-51f4cfbc6472a2205e53d726713619ca8df5340b-ubuntu-20.04.tar.gz
37
 
38
  RUN chmod +x truepic