Skip to content

Commit

Permalink
Adding Args if used
Browse files Browse the repository at this point in the history
  • Loading branch information
phutelmyer committed Jan 2, 2024
1 parent b269d16 commit e694b9a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ FROM node:16-slim AS UI_BUILDER
# We are using a multi-stage build as we require node for
# building react.

# Define UI build arguments.
ARG REACT_APP_SEARCH_NAME
ARG REACT_APP_SEARCH_URL

# Set the build arguments as environment variables.
ENV REACT_APP_SEARCH_NAME=$REACT_APP_SEARCH_NAME
ENV REACT_APP_SEARCH_URL=$REACT_APP_SEARCH_URL

# Copy package.json and package-lock.json into the builder.
# Copying just these files first allows us to take advantage
# of cached Docker layers.
Expand Down

0 comments on commit e694b9a

Please sign in to comment.