Skip to content

Commit

Permalink
docker: use userid 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Dec 17, 2023
1 parent d589d38 commit a19ea03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ ENV UID 501
RUN apk update && \
apk add --no-cache git ca-certificates openssh tor tzdata mailcap && \
addgroup -g $UID eagle && \
adduser --system --uid $UID --ingroup eagle --home /home/eagle eagle && \
mkdir /app /app/source /app/public /app/data /imgproxy && \
chown -R eagle:eagle /app /imgproxy
adduser -D -h /app -u 1000 -G users eagle && \
mkdir -p /app/source /app/public /app/data /imgproxy && \
chown -R eagle /app /imgproxy

USER eagle

Expand Down

0 comments on commit a19ea03

Please sign in to comment.