Skip to content

Commit

Permalink
chore: added build parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
froid1911 committed Jul 29, 2024
1 parent 54024a9 commit 98fd722
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
FROM node:alpine AS base

ARG NEXT_PUBLIC_VITE_INFURA_PROJECT_ID=""
ENV NEXT_PUBLIC_VITE_INFURA_PROJECT_ID=${NEXT_PUBLIC_VITE_INFURA_PROJECT_ID}

ARG NEXT_PUBLIC_VITE_WALLET_CONNECT_PROJECT_ID=""
ENV NEXT_PUBLIC_VITE_WALLET_CONNECT_PROJECT_ID=${NEXT_PUBLIC_VITE_WALLET_CONNECT_PROJECT_ID}

ARG NEXT_PUBLIC_CERAMIC_URL=""
ENV NEXT_PUBLIC_CERAMIC_URL=${NEXT_PUBLIC_CERAMIC_URL}

ARG CERAMIC_SEED=""
ENV CERAMIC_SEED=${CERAMIC_SEED}

# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
Expand Down

0 comments on commit 98fd722

Please sign in to comment.