From 7d8dc55dbeb08804345f4fb0917cd0b33a35d2ff Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 27 Oct 2024 11:47:30 +0800 Subject: [PATCH] Fix: the rootless user put in the wrong place (#5257) --- docker/dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/dockerfile b/docker/dockerfile index 572c732e0..d55f94f61 100644 --- a/docker/dockerfile +++ b/docker/dockerfile @@ -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" @@ -46,6 +45,7 @@ CMD ["node", "server/server.js"] # Rootless Image ############################################ FROM release AS rootless +USER node ############################################ # Mark as Nightly