Skip to content

Commit

Permalink
remove chown
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Ellison committed Nov 20, 2023
1 parent 3bbc4bd commit e01bb7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ RUN --mount=type=secret,id=FONTAWESOME_NPM_AUTH_TOKEN \
export FONTAWESOME_NPM_AUTH_TOKEN=$(cat /run/secrets/FONTAWESOME_NPM_AUTH_TOKEN) && \
npm config set "//npm.fontawesome.com/:_authToken" $FONTAWESOME_NPM_AUTH_TOKEN && \
npm install && \
find /app/node_modules/ ! -user root | xargs chown root:root
echo "done"
# find /app/node_modules/ ! -user root | xargs chown root:root


FROM node:18.18-alpine AS builder
Expand Down

0 comments on commit e01bb7e

Please sign in to comment.