zliang commited on
Commit
f8419f4
1 Parent(s): 588da92

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile CHANGED
@@ -16,4 +16,14 @@ RUN --mount=type=secret,id=public_key,mode=0444,required=true \
16
  git init && \
17
  git remote add origin $(cat /run/secrets/public_key)
18
 
 
 
 
 
 
 
 
 
 
 
19
  CMD ["python", "app.py"]
 
16
  git init && \
17
  git remote add origin $(cat /run/secrets/public_key)
18
 
19
+ RUN --mount=type=secret,id=private_key,mode=0444,required=true \
20
+ git init && \
21
+ git remote add origin $(cat /run/secrets/private_key)
22
+
23
+ RUN --mount=type=secret,id=url_endpoint,mode=0444,required=true \
24
+ git init && \
25
+ git remote add origin $(cat /run/secrets/url_endpoint)
26
+
27
+
28
+
29
  CMD ["python", "app.py"]