loc commited on
Commit
2a1a788
Β·
verified Β·
1 Parent(s): 3941a98

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -2,7 +2,8 @@ FROM node:18
2
 
3
  WORKDIR /app
4
 
5
- RUN git clone https://$(cat /run/secrets/PAT)@github.com/locmaymo/proxy.git .
 
6
 
7
  EXPOSE 7860
8
 
 
2
 
3
  WORKDIR /app
4
 
5
+ RUN --mount=type=secret,id=CLONE,mode=0444,required=true \
6
+ git clone $(cat /run/secrets/CLONE)
7
 
8
  EXPOSE 7860
9