File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
5
5
6
6
# # Frontend variables
7
7
FRONTEND_PORT = 3000
8
+ # BASE_URI only needs to be provided if hosting outside of cluster
9
+ BASE_URI =
8
10
9
11
# # Question service variables
10
12
QUESTION_SVC_PORT =
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ services:
3
3
build :
4
4
context : ./frontend
5
5
args :
6
+ - BASE_URI=$BASE_URI
6
7
- USER_SVC_PORT=$USER_SVC_PORT
7
8
- QUESTION_SVC_PORT=$QUESTION_SVC_PORT
8
9
- MATCHING_SVC_PORT=$MATCHING_SVC_PORT
Original file line number Diff line number Diff line change 1
1
# Base stage
2
2
FROM node:20-alpine AS base
3
- ARG USER_SVC_PORT \
3
+ ARG BASE_URI \
4
+ USER_SVC_PORT \
4
5
QUESTION_SVC_PORT \
5
6
MATCHING_SVC_PORT
6
7
WORKDIR /app
7
8
COPY package.json .
8
9
COPY yarn.lock .
9
10
RUN yarn install --frozen-lockfile
10
- ENV NEXT_PUBLIC_USER_SVC_PORT=$USER_SVC_PORT \
11
+ ENV NEXT_PUBLIC_BASE_URI=$BASE_URI \
12
+ NEXT_PUBLIC_USER_SVC_PORT=$USER_SVC_PORT \
11
13
NEXT_PUBLIC_QUESTION_SVC_PORT=$QUESTION_SVC_PORT \
12
14
NEXT_PUBLIC_MATCHING_SVC_PORT=$MATCHING_SVC_PORT
13
15
You can’t perform that action at this time.
0 commit comments