Rockk08 commited on
Commit
e747f8e
·
1 Parent(s): 955e5f9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -14,6 +14,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
14
 
15
  RUN useradd -m -u 1000 user
16
 
 
 
 
 
17
  USER user
18
 
19
  ENV HOME=/home/user \
 
14
 
15
  RUN useradd -m -u 1000 user
16
 
17
+ RUN --mount=type=secret,id=FIREBASE_KEY,mode=0444,required=true \
18
+ git init && \
19
+ git remote add origin $(cat /run/secrets/FIREBASE_KEY)
20
+
21
  USER user
22
 
23
  ENV HOME=/home/user \