Skip to content

Commit

Permalink
fix: add listings approval variable to docker file (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyjablonski authored Sep 11, 2023
1 parent 33aa248 commit b08d4a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/docker/Dockerfile.sites-generic
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ARG IDLE_TIMEOUT=5
ARG LANGUAGES=en
ARG MAPBOX_TOKEN
ARG GTM_KEY
ARG FEATURE_LISTINGS_APPROVAL

# The base image will contain all the source code needed for our site
FROM node:18.14-alpine AS base
Expand Down Expand Up @@ -113,6 +114,7 @@ ARG IDLE_TIMEOUT
ARG LANGUAGES
ARG MAPBOX_TOKEN
ARG GTM_KEY
ARG FEATURE_LISTINGS_APPROVAL

# We need to have this nested 2 layers deep due to hardcoded paths in package.json
WORKDIR /app/sites/${SITE}
Expand All @@ -130,6 +132,7 @@ ENV IDLE_TIMEOUT=$IDLE_TIMEOUT
ENV LANGUAGES=$LANGUAGES
ENV MAPBOX_TOKEN=$MAPBOX_TOKEN
ENV GTM_KEY=$GTM_KEY
ENV FEATURE_LISTINGS_APPROVAL=$FEATURE_LISTINGS_APPROVAL

# Build/compile
RUN yarn build
Expand Down

0 comments on commit b08d4a2

Please sign in to comment.