jclyo1 commited on
Commit
1594e30
1 Parent(s): 4ae11c9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -32,13 +32,13 @@ WORKDIR $HOME/app
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 unzip truepic-lens-cli-f41c5598bd4ad6736ac42884fe6d1e7e1c9720a3-ubuntu-20.04.zip
36
- RUN tar -xf truepic-lens-cli-f41c5598bd4ad6736ac42884fe6d1e7e1c9720a3-ubuntu-20.04.tar.gz
37
 
38
  RUN chmod +x truepic
39
 
40
- # RUN --mount=type=secret,id=api_key,mode=0444,required=true \
41
- # ./truepic enroll file-system --api-key $(cat /run/secrets/api_key)
42
 
43
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
44
  COPY --chown=user . $HOME/app
 
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 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
39
 
40
+ RUN --mount=type=secret,id=api_key,mode=0444,required=true \
41
+ ./truepic enroll file-system --api-key $(cat /run/secrets/api_key)
42
 
43
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
44
  COPY --chown=user . $HOME/app