SatCat commited on
Commit
812ca24
·
verified ·
1 Parent(s): 5731186

remove repo clone code

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -4
Dockerfile CHANGED
@@ -12,8 +12,4 @@ COPY ./main.py /code/app/main.py
12
  RUN --mount=type=secret,id=EXAMPLE,mode=0444,required=true \
13
  cat /run/secrets/EXAMPLE > /test
14
 
15
- # Get secret SECRET_EXAMPLE and clone it as repo at buildtime
16
- RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
17
- git clone $(cat /run/secrets/SECRET_EXAMPLE)
18
-
19
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
12
  RUN --mount=type=secret,id=EXAMPLE,mode=0444,required=true \
13
  cat /run/secrets/EXAMPLE > /test
14
 
 
 
 
 
15
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]