user scripts improvements
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user