mirror of
https://github.com/morten-olsen/mini-loader.git
synced 2026-02-08 01:36:26 +01:00
feat: improved configuration (#31)
This commit is contained in:
@@ -7,6 +7,8 @@ GID=${GID:-1001}
|
||||
addgroup --system --gid ${GID} nodejs && \
|
||||
adduser --system --uid ${UID} -G nodejs miniloader && \
|
||||
|
||||
mkdir -p /app/data
|
||||
chown -R miniloader:nodejs /app/data
|
||||
mkdir -p ${DATA_DIR}
|
||||
mkdir -p ${CACHE_DIR}
|
||||
chown -R miniloader:nodejs ${DATA_DIR}
|
||||
chown -R miniloader:nodejs ${CACHE_DIR}
|
||||
su miniloader -s /bin/sh -c "$CMD"
|
||||
Reference in New Issue
Block a user