From ae219417233f6f5ba89a3c03677b9016cf530e9e Mon Sep 17 00:00:00 2001 From: halil Date: Thu, 12 Dec 2024 22:22:08 +0300 Subject: [PATCH] hotfix: inject env variable --- frontend/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) 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