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

pull/330/head^2
Elian Doran 2024-08-12 10:01:22 +07:00
parent c4a4acdc39
commit ef20645447
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -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"