From e43a5f80650524883f4be2a8e63da3f53e96989d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sza=C5=82owski?= Date: Fri, 7 Jun 2024 13:34:13 +0200 Subject: [PATCH] chore: add missing arg in dockerfile --- .github/workflows/build-and-deploy-dev.yml | 2 +- govtool/frontend/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy-dev.yml b/.github/workflows/build-and-deploy-dev.yml index 559d4073c..c07d88741 100644 --- a/.github/workflows/build-and-deploy-dev.yml +++ b/.github/workflows/build-and-deploy-dev.yml @@ -17,7 +17,6 @@ env: ENVIRONMENT: "dev" CARDANO_NETWORK: "sanchonet" DOMAIN: "dev-sanchonet.govtool.byron.network" - IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }} jobs: deploy: @@ -48,6 +47,7 @@ jobs: SENTRY_IGNORE_API_RESOLUTION_ERROR: "1" TRAEFIK_LE_EMAIL: "admin+govtool@binarapps.com" USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }} + IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }} steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/govtool/frontend/Dockerfile b/govtool/frontend/Dockerfile index 88eff036a..ef0930272 100644 --- a/govtool/frontend/Dockerfile +++ b/govtool/frontend/Dockerfile @@ -5,6 +5,7 @@ ARG VITE_NETWORK_FLAG=0 ARG VITE_SENTRY_DSN ARG NPMRC_TOKEN ARG VITE_USERSNAP_SPACE_API_KEY +ARG VITE_IS_PROPOSAL_DISCUSSION_FORUM_ENABLED ENV NODE_OPTIONS=--max_old_space_size=4096 WORKDIR /src