File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ ARG TC_M2M_AUTH0_PROXY_SERVER_URL
63
63
ARG TC_M2M_AUTH0_URL
64
64
ARG AUTH_SECRET
65
65
66
+ ARG COMMUNITY_APP
67
+
66
68
# ###############################################################################
67
69
# Setting of environment variables in the Docker image.
68
70
@@ -115,6 +117,7 @@ ENV CONTENTFUL_MANAGEMENT_TOKEN=$CONTENTFUL_MANAGEMENT_TOKEN
115
117
ENV CONTENTFUL_EDU_SPACE_ID=$CONTENTFUL_EDU_SPACE_ID
116
118
ENV CONTENTFUL_EDU_CDN_API_KEY=$CONTENTFUL_EDU_CDN_API_KEY
117
119
ENV CONTENTFUL_EDU_PREVIEW_API_KEY=$CONTENTFUL_EDU_PREVIEW_API_KEY
120
+ ENV COMMUNITY_APP=$COMMUNITY_APP
118
121
119
122
# ###############################################################################
120
123
# Testing and build of the application inside the container.
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ docker build -t $TAG \
42
42
--build-arg TC_M2M_GRANT_TYPE=$TC_M2M_GRANT_TYPE \
43
43
--build-arg CONTENTFUL_COMCAST_SPACE_ID=$CONTENTFUL_COMCAST_SPACE_ID \
44
44
--build-arg CONTENTFUL_COMCAST_CDN_API_KEY=$CONTENTFUL_COMCAST_CDN_API_KEY \
45
- --build-arg CONTENTFUL_COMCAST_PREVIEW_API_KEY=$CONTENTFUL_COMCAST_PREVIEW_API_KEY .
45
+ --build-arg CONTENTFUL_COMCAST_PREVIEW_API_KEY=$CONTENTFUL_COMCAST_PREVIEW_API_KEY \
46
+ --build-arg COMMUNITY_APP=$COMMUNITY_APP .
46
47
47
48
# Copies "node_modules" from the created image, if necessary for caching.
48
49
docker create --name app $TAG
You can’t perform that action at this time.
0 commit comments