From 335e9f86e2e60bf7624c88d8f6e0adbb46e38a3c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 18 Oct 2020 15:57:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20Run=20unpriviledged?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7d82508..e94add0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,5 +18,7 @@ ENV DATABASE=/data/ShareDAV.db COPY --from=builder /src/ShareDAV /app/ShareDAV COPY --from=builder /data /data +USER 1000:1000 + ENTRYPOINT ["/app/ShareDAV"] CMD ["serve"] \ No newline at end of file