mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-30 19:52:20 +01:00
(bug) supervisord: Permission denied: '/var/log/supervisor/supervisord.log'
This commit is contained in:
parent
ac16eca60f
commit
8446e084c7
@ -51,7 +51,8 @@ COPY Gemfile /tmp/
|
||||
COPY Gemfile.lock /tmp/
|
||||
RUN bundle config set --local without 'development test doc' && bundle install && bundle binstubs --all
|
||||
|
||||
# Prepare the application directory
|
||||
# Prepare the application directories
|
||||
RUN mkdir -p /var/log/supervisor && chown -R fabmanager:fabmanager /var/log/supervisor
|
||||
RUN mkdir -p /usr/src/app && chown -R fabmanager:fabmanager /usr/src/app
|
||||
# Change to non-root user
|
||||
USER fabmanager
|
||||
|
Loading…
x
Reference in New Issue
Block a user