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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -24,6 +24,9 @@ WORKDIR $HOME/app
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"]
 
24
 
25
  COPY --chown=user . $HOME/app
26
 
27
+ RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
28
+ apt-get install -y git && \
29
+ git init && \
30
+ git remote add origin $(cat /run/secrets/SECRET_EXAMPLE)
31
 
32
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]