We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e94095d commit 8fa4dd2Copy full SHA for 8fa4dd2
1 file changed
Dockerfile
@@ -7,6 +7,11 @@ ENV NODE_ENV=production
7
COPY package.json yarn.lock ./
8
RUN yarn install --frozen-lockfile
9
10
+# Pass in NEXT_PUBLIC_API_BASE_URL from Docker build args
11
+# TODO: add MSS args later...
12
+ARG NEXT_PUBLIC_API_BASE_URL
13
+ENV NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_API_BASE_URL
14
+
15
# Copy source and build
16
COPY . .
17
RUN yarn build
0 commit comments