ashh757 commited on
Commit
4794003
·
verified ·
1 Parent(s): b5ccb45

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -5
Dockerfile CHANGED
@@ -46,11 +46,6 @@ COPY --from=builder /usr/local/bin /usr/local/bin
46
 
47
  # Change ownership of the app directory to the user
48
  RUN chown -R user:user $HOME/app
49
-
50
- # Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
51
- RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
52
- git init && \
53
- git remote add origin $(cat /run/secrets/SECRET_EXAMPLE)
54
 
55
  # Expose secrets at build time and store them in a file
56
  RUN --mount=type=secret,id=AWS_ACCESS_KEY_ID,mode=0444,required=true \
 
46
 
47
  # Change ownership of the app directory to the user
48
  RUN chown -R user:user $HOME/app
 
 
 
 
 
49
 
50
  # Expose secrets at build time and store them in a file
51
  RUN --mount=type=secret,id=AWS_ACCESS_KEY_ID,mode=0444,required=true \