Skip to content

Commit

Permalink
hotfix: inject env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Halil-Ibrahim-Kasapoglu committed Dec 12, 2024
1 parent e81de0b commit ae21941
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae21941

Please sign in to comment.