user scripts improvements

This commit is contained in:
Dylan Knutson
2025-02-25 00:13:57 +00:00
parent 9a2fac1433
commit 8ddad8258c
11 changed files with 339 additions and 285 deletions

View File

@@ -81,6 +81,9 @@ COPY . .
RUN RAILS_ENV=production bin/rails assets:precompile
RUN mkdir -p tmp/pids
# build user scripts
RUN yarn build:user-scripts
# create user with id=1000 gid=1000
RUN groupadd -g 1000 app && \
useradd -m -d /home/app -s /bin/bash -u 1000 -g 1000 app