Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix: alpine perms
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Sep 5, 2023
1 parent c80f287 commit b27ea96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM node:16-alpine as builder

RUN apk add --no-cache gcc autoconf automake build-base libpng-dev nasm

RUN chown 1000:1000 /home/node
RUN chown -R 1000:1000 /home/node && \
chmod -R 755 /home/node

USER 1000
WORKDIR /app

Expand Down

0 comments on commit b27ea96

Please sign in to comment.