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

Commit 14e7e01

Browse files
committed
pass NYLAS_CLIENT_ID during building
1 parent 893171b commit 14e7e01

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ UPDATE_CACHE=""
55

66
docker build -f docker/Dockerfile -t $APP_NAME:latest \
77
--build-arg STRIPE_PUBLIC_KEY=$STRIPE_PUBLIC_KEY \
8+
--build-arg NYLAS_CLIENT_ID=$NYLAS_CLIENT_ID \
89
--build-arg APPMODE=$APPMODE \
910
--build-arg APPENV=$APPENV .
1011

docker/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ FROM node:10
44
ARG APPMODE
55
ARG APPENV
66
ARG STRIPE_PUBLIC_KEY
7+
ARG NYLAS_CLIENT_ID
78

89
ENV APPMODE=$APPMODE
910
ENV APPENV=$APPENV
1011
ENV STRIPE_PUBLIC_KEY=$STRIPE_PUBLIC_KEY
12+
ENV NYLAS_CLIENT_ID=$NYLAS_CLIENT_ID
1113

1214
# Copy the current directory into the Docker image
1315
COPY . /taas-app

0 commit comments

Comments
 (0)