Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a5fe86b

Browse files
committed
Adding SEGMENT_ANALYTICS_KEY
1 parent a09eb83 commit a5fe86b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ APP_NAME=$1
44
UPDATE_CACHE=""
55

66
docker build -f docker/Dockerfile -t $APP_NAME:latest \
7+
--build-arg SEGMENT_ANALYTICS_KEY=$SEGMENT_ANALYTICS_KEY \
78
--build-arg APPMODE=$APPMODE \
89
--build-arg APPENV=$APPENV .
910

docker/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ FROM node:10.22.1
33

44
ARG APPMODE
55
ARG APPENV
6+
ARG SEGMENT_ANALYTICS_KEY
7+
68

79
ENV APPMODE=$APPMODE
810
ENV APPENV=$APPENV
11+
ENV SEGMENT_ANALYTICS_KEY=$SEGMENT_ANALYTICS_KEY
912

1013
# Copy the current directory into the Docker image
1114
COPY . /micro-frontends-frame

0 commit comments

Comments
 (0)