Skip to content

Commit

Permalink
Fix: the rootless user put in the wrong place (#5257)
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam authored Oct 27, 2024
1 parent 459fb13 commit 7d8dc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ RUN mkdir ./data
# ⭐ Main Image
############################################
FROM $BASE_IMAGE AS release
USER node
WORKDIR /app

LABEL org.opencontainers.image.source="https://github.com/louislam/uptime-kuma"
Expand All @@ -46,6 +45,7 @@ CMD ["node", "server/server.js"]
# Rootless Image
############################################
FROM release AS rootless
USER node

############################################
# Mark as Nightly
Expand Down

0 comments on commit 7d8dc55

Please sign in to comment.