Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile

# Pass in NEXT_PUBLIC_API_BASE_URL from Docker build args
# TODO: add MSS args later...
ARG NEXT_PUBLIC_API_BASE_URL
ENV NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_API_BASE_URL

ARG NEXT_PUBLIC_MSS_EDITOR_BASE_URL
ENV NEXT_PUBLIC_MSS_EDITOR_BASE_URL=$NEXT_PUBLIC_MSS_EDITOR_BASE_URL

ARG NEXT_PUBLIC_MSS_API_BASE_URL
ENV NEXT_PUBLIC_MSS_API_BASE_URL=$NEXT_PUBLIC_MSS_API_BASE_URL

# Copy source and build
COPY . .
RUN yarn build
Expand Down