Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from MozillaSocial/build-time-vars
Browse files Browse the repository at this point in the history
adding two vars to Dockerfile
  • Loading branch information
cvalaas authored Aug 2, 2023
2 parents 9de1e45 + bd5817d commit 37bd774
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ WORKDIR /elk

FROM base AS builder

# Make two NUXT_PUBLIC vars changeable during builds
ARG NUXT_PUBLIC_SINGLE_INSTANCE
ENV NUXT_PUBLIC_SINGLE_INSTANCE=$NUXT_PUBLIC_SINGLE_INSTANCE
ARG NUXT_PUBLIC_DEFAULT_SERVER
ENV NUXT_PUBLIC_DEFAULT_SERVER=$NUXT_PUBLIC_DEFAULT_SERVER

# Prepare pnpm https://pnpm.io/installation#using-corepack
RUN corepack enable

Expand Down

0 comments on commit 37bd774

Please sign in to comment.