jclyo1 commited on
Commit
86768dc
1 Parent(s): 48ef05e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -45,6 +45,11 @@ RUN --mount=type=secret,id=truepic_sign_gdoc_id,mode=0444,required=true \
45
  RUN tar -xf truepic-sign-v0.2.0-ubuntu-20.04.tar.gz
46
  RUN chmod +x truepic-sign
47
 
 
 
 
 
 
48
  WORKDIR $HOME/app
49
 
50
  # COPY . .
 
45
  RUN tar -xf truepic-sign-v0.2.0-ubuntu-20.04.tar.gz
46
  RUN chmod +x truepic-sign
47
 
48
+ RUN --mount=type=secret,id=api_key,mode=0444,required=true \
49
+ ./truepic-sign init --api-key $(cat /run/secrets/api_key)
50
+
51
+ RUN ./truepic-sign enroll
52
+
53
  WORKDIR $HOME/app
54
 
55
  # COPY . .