Skip to content

Commit

Permalink
[frontend] fix: Setting REACT_APP_API_BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
helloitsdave committed Mar 23, 2024
1 parent 721878a commit 54213ad
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
@@ -13,6 +13,10 @@ RUN npm install
# Copy the app source code to the working directory
COPY . .

# Set the environment variable
ARG REACT_APP_API_BASE_URL
ENV REACT_APP_API_BASE_URL=$REACT_APP_API_BASE_URL

# Build the app
RUN npm run build

1 comment on commit 54213ad

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

91.43%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   App.tsx0%0%0%1, 1, 10–19, 2, 20–27, 3–9
   NoteApp.tsx94.12%100%96.69%66–70
src/api
   apiService.ts90.91%100%100%18
src/components
   Header.tsx0%0%0%1, 1–9
   Login.tsx100%100%100%
   Note.tsx100%100%100%
   NoteForm.tsx100%100%100%
   NoteFormModal.tsx100%100%100%
   NoteGrid.tsx100%100%100%
   Spinner.tsx100%100%100%

Please sign in to comment.