Skip to content

Build your personal knowledge base with Trilium Notes

Drop privileges (#1422)

ohdearaugustin4fd9e7f14f29
diff --git a/Dockerfile b/Dockerfile
index 8ac8d9ac1a..3e1f3618c3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,5 +23,7 @@ RUN set -x \
# Bundle app source
COPY . .
+USER node
+
EXPOSE 8080
CMD [ "node", "./src/www" ]