Skip to content

Commit

Permalink
test lagi
Browse files Browse the repository at this point in the history
  • Loading branch information
syafiqparadisam committed Jul 24, 2024
1 parent 6fb8bf6 commit a557573
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions project/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ FROM node:20.12-alpine AS build
# Copy source code


RUN --mount=type=secret,id=VITE_TEMPLATE_ID \
cat /run/secrets/VITE_TEMPLATE_ID
RUN --mount=type=secret,id=VITE_TEMPLATE_ID,required ls -la /run/secrets/

RUN --mount=type=secret,id=VITE_PUBLIC_KEY,required ls -la /run/secrets/

RUN --mount=type=secret,id=VITE_PUBLIC_KEY \
cat /run/secrets/VITE_PUBLIC_KEY

RUN --mount=type=secret,id=VITE_SERVICE_ID \
cat /run/secrets/VITE_SERVICE_ID
RUN --mount=type=secret,id=VITE_SERVICE_ID,required ls -la /run/secrets/

RUN export VITE_SERVICE_ID=$(cat /run/secrets/VITE_SERVICE_ID) \
&& export VITE_TEMPLATE_ID=$(cat /run/secrets/VITE_TEMPLATE_ID) \
Expand Down

0 comments on commit a557573

Please sign in to comment.