File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ ARG SENDGRID_API_KEY
7272ARG GROWSURF_API_KEY
7373ARG GROWSURF_CAMPAIGN_ID
7474
75+ # Optimizely
76+ ARG OPTIMIZELY_SDK_KEY
77+
7578# ###############################################################################
7679# Setting of environment variables in the Docker image.
7780
@@ -131,6 +134,9 @@ ENV GROWSURF_API_KEY=$GROWSURF_API_KEY
131134ENV GROWSURF_CAMPAIGN_ID=$GROWSURF_CAMPAIGN_ID
132135ENV GSHEETS_API_KEY=$GSHEETS_API_KEY
133136
137+ # Optimizely
138+ ENV OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY
139+
134140# ###############################################################################
135141# Testing and build of the application inside the container.
136142
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ docker build -t $TAG \
4848 --build-arg GROWSURF_API_KEY=$GROWSURF_API_KEY \
4949 --build-arg GROWSURF_CAMPAIGN_ID=$GROWSURF_CAMPAIGN_ID \
5050 --build-arg GSHEETS_API_KEY=$GSHEETS_API_KEY \
51+ --build-arg OPTIMIZELY_SDK_KEY=$OPTIMIZELY_SDK_KEY \
5152 --build-arg COMMUNITY_APP_URL=$COMMUNITY_APP_URL .
5253
5354# Copies "node_modules" from the created image, if necessary for caching.
Original file line number Diff line number Diff line change @@ -108,4 +108,7 @@ module.exports = {
108108 TOKEN_CACHE_TIME : 'TOKEN_CACHE_TIME' ,
109109 } ,
110110 GSHEETS_API_KEY : 'GSHEETS_API_KEY' ,
111+ OPTIMIZELY : {
112+ SDK_KEY : 'OPTIMIZELY_SDK_KEY' ,
113+ } ,
111114} ;
You can’t perform that action at this time.
0 commit comments