Skip to content

Commit

Permalink
Merge pull request #19 from voxpupuli/fix_git
Browse files Browse the repository at this point in the history
fix: prevent ENOGITREPO
  • Loading branch information
rwaffen authored Sep 25, 2024
2 parents a4a4a23 + c58bdfc commit 47857ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ RUN apk update && apk upgrade \
COPY Dockerfile /
COPY --from=build /npm /npm

# fix ENOGITREPO Not running from a git repository.
RUN git config --global --add safe.directory '*'

WORKDIR /data

ENV PATH="$PATH:/npm/node_modules/.bin"
Expand Down

0 comments on commit 47857ba

Please sign in to comment.