Skip to content

Commit fa24e60

Browse files
fix: (Dockerfile) update environment variable from VITE_EC2_BACKEND_URL to VITE_API_BASE_URL for consistency in backend configuration
make th Dockerfle also to the VITE_API_BASE_URL new scret varible
1 parent 2bcd8dc commit fa24e60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ WORKDIR /app
99
COPY . .
1010

1111
# Pass environment variable at build time
12-
ARG VITE_EC2_BACKEND_URL
13-
ENV VITE_EC2_BACKEND_URL=$VITE_EC2_BACKEND_URL
12+
ARG VITE_API_BASE_URL
13+
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
1414

1515
# Install dependencies and build
1616
RUN npm install && npm run build

0 commit comments

Comments
 (0)