Skip to content

Commit

Permalink
build: prevent usage of git ssh during docker npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jul 30, 2024
1 parent f19035a commit 74b574a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/docker/Dockerfile.frontend
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ WORKDIR /usr/src/app/frontend
COPY frontend .

## SETUP
RUN npm install
RUN git config --global url.https://github.com/.insteadOf [email protected]: \
&& npm install

# SERVE
COPY tasking-manager.env ..
Expand Down

0 comments on commit 74b574a

Please sign in to comment.