Skip to content

Commit

Permalink
🚧 update dockerfile to read env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
starwiz-7 committed Jun 15, 2023
1 parent 71db2ec commit 05372d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ ENV FORTMATIC_KEY=""
ENV INFURA_ID=""
ENV PORTIS_ID=""

RUN --mount=type=secret,id=INFURA_ID \
export INFURA_ID=$(cat /run/secrets/INFURA_ID)


ADD --chown=node:node ./static /siwe-oidc/static
ADD --chown=node:node ./js/ui /siwe-oidc/js/ui
Expand Down

0 comments on commit 05372d1

Please sign in to comment.