Skip to content

Build your personal knowledge base with Trilium Notes

docker: Fix reading USER_UID/GID (closes #331)

Elian Doranef2064544778
diff --git a/start-docker.sh b/start-docker.sh
index ffdcb41489..624db0dd2b 100755
--- a/start-docker.sh
+++ b/start-docker.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
[[ ! -z "${USER_UID}" ]] && usermod -u ${USER_UID} node || echo "No USER_UID specified, leaving 1000"
[[ ! -z "${USER_GID}" ]] && groupmod -og ${USER_GID} node || echo "No USER_GID specified, leaving 1000"