Rockk08 commited on
Commit
db38529
·
1 Parent(s): 08ef9b3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -24,8 +24,6 @@ WORKDIR $HOME/app
24
 
25
  COPY --chown=user . $HOME/app
26
 
27
- RUN --mount=type=secret,id=FIREBASE_KEY,mode=0444,required=true \
28
- git init && \
29
- git remote add master $(cat /run/secrets/FIREBASE_KEY)
30
 
31
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
24
 
25
  COPY --chown=user . $HOME/app
26
 
27
+ RUN --mount=type=secret,id=FIREBASE_KEY,mode=0444,required=true git init && git remote add origin $(cat /run/secrets/FIREBASE_KEY)
 
 
28
 
29
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]