Skip to content

Commit a89e867

Browse files
committed
feat(dockerfile): replace VITE_BACKEND_BASE_URL with API_URL for flexibility
1 parent 67d0d4f commit a89e867

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ FROM node:20.18.0-slim AS build
22

33
WORKDIR /app
44

5-
ARG VITE_BACKEND_BASE_URL
5+
ARG ARG API_URL
66

77
COPY package*.json ./
88
RUN npm ci --legacy-peer-deps
99

1010
COPY ./ ./
11-
RUN VITE_BACKEND_BASE_URL=$VITE_BACKEND_BASE_URL npm run build
11+
RUN VITE_BACKEND_BASE_URL=$API_URL npm run build
1212

1313
FROM nginx:alpine AS run
1414

0 commit comments

Comments
 (0)