Skip to content

Commit

Permalink
fix: dockerfile node permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeday committed Jul 17, 2024
1 parent 543518b commit ad33436
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ ARG DEFAULT_CHAIN="1"
ENV NEXT_TELEMETRY_DISABLED=1 \
BASE_PATH=$BASE_PATH \
SUPPORTED_CHAINS=$SUPPORTED_CHAINS \
DEFAULT_CHAIN=$DEFAULT_CHAIN
DEFAULT_CHAIN=$DEFAULT_CHAIN

WORKDIR /app
RUN apk add --no-cache curl=~8
RUN apk add --no-cache curl=~8

COPY --from=build /app /app
RUN chown -R node:node /app/.next

USER node
EXPOSE 3000
Expand Down

0 comments on commit ad33436

Please sign in to comment.