eienmojiki commited on
Commit
1ccad96
·
verified ·
1 Parent(s): 36d0244

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -40,15 +40,15 @@ RUN npm install -g pm2 && \
40
  COPY --from=builder /app/enclosed/packages/app-client/dist ./public
41
  COPY --from=builder /app/enclosed/packages/app-server/dist-node/index.cjs ./index.cjs
42
 
43
- RUN RUN --mount=type=secret,id=DATA_REPO,mode=0444,required=true \
44
  git clone $(cat /run/secrets/DATA_REPO) ./.data
45
 
46
  WORKDIR /app/.data
47
 
48
- RUN RUN --mount=type=secret,id=GIT_USERNAME,mode=0444,required=true \
49
  git config user.name $(cat /run/secrets/GIT_USERNAME)
50
 
51
- RUN RUN --mount=type=secret,id=GIT_EMAIL,mode=0444,required=true \
52
  git config user.email $(cat /run/secrets/GIT_EMAIL)
53
 
54
  WORKDIR /app
 
40
  COPY --from=builder /app/enclosed/packages/app-client/dist ./public
41
  COPY --from=builder /app/enclosed/packages/app-server/dist-node/index.cjs ./index.cjs
42
 
43
+ RUN --mount=type=secret,id=DATA_REPO,mode=0444,required=true \
44
  git clone $(cat /run/secrets/DATA_REPO) ./.data
45
 
46
  WORKDIR /app/.data
47
 
48
+ RUN --mount=type=secret,id=GIT_USERNAME,mode=0444,required=true \
49
  git config user.name $(cat /run/secrets/GIT_USERNAME)
50
 
51
+ RUN --mount=type=secret,id=GIT_EMAIL,mode=0444,required=true \
52
  git config user.email $(cat /run/secrets/GIT_EMAIL)
53
 
54
  WORKDIR /app