diff --git a/frontend/Dockerfile b/frontend/Dockerfile index a5d253d1..0d65720e 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -3,6 +3,10 @@ WORKDIR /app COPY package*.json ./ RUN npm install COPY . . + +ARG REACT_APP_API_BASE_URL +ENV REACT_APP_API_BASE_URL=$REACT_APP_API_BASE_URL + RUN npm run build FROM node:18-bullseye-slim WORKDIR /app