jclyo1 commited on
Commit
955d44a
1 Parent(s): 261d577

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -40,13 +40,13 @@ COPY --chown=user . $HOME/app
40
  RUN pip install gdown
41
  RUN --mount=type=secret,id=truepic_sign_gdoc_id,mode=0444,required=true \
42
  gdown --id $(cat /run/secrets/truepic_sign_gdoc_id)
43
- RUN tar -xf truepic-sign-v0.2.0-ubuntu-20.04.tar.gz
44
  RUN chmod +x truepic-sign
45
 
46
  RUN --mount=type=secret,id=api_key,mode=0444,required=true \
47
- ./truepic-sign init --api-key $(cat /run/secrets/api_key)
48
 
49
- RUN ./truepic-sign enroll
50
 
51
  WORKDIR $HOME/app
52
 
 
40
  RUN pip install gdown
41
  RUN --mount=type=secret,id=truepic_sign_gdoc_id,mode=0444,required=true \
42
  gdown --id $(cat /run/secrets/truepic_sign_gdoc_id)
43
+ RUN tar -xf truepic-sign-v0.3.1-ubuntu-20.04.tar.gz
44
  RUN chmod +x truepic-sign
45
 
46
  RUN --mount=type=secret,id=api_key,mode=0444,required=true \
47
+ ./truepic-sign init file-system --api-key $(cat /run/secrets/api_key)
48
 
49
+ # RUN ./truepic-sign enroll
50
 
51
  WORKDIR $HOME/app
52