fixed permissions to php log
This commit is contained in:
parent
10c60dc71b
commit
749bfd9470
@ -37,13 +37,14 @@ RUN mkdir -p /var/www/html
|
||||
# Fetch Omeka-S
|
||||
WORKDIR /tmp
|
||||
ADD https://github.com/omeka/omeka-s/releases/download/v4.0.4/omeka-s-4.0.4.zip /tmp
|
||||
RUN unzip omeka-s-4.0.4.zip -d /var/www/html/
|
||||
RUN unzip omeka-s-4.0.4.zip -d /var/www/html/ && rm omeka-s-4.0.4.zip
|
||||
|
||||
# Make sure files/folders needed by the processes are accessable when they run under the nobody user
|
||||
RUN chown -R nobody.nobody /var/www/html && \
|
||||
chown -R nobody.nobody /run && \
|
||||
chown -R nobody.nobody /var/lib/nginx && \
|
||||
chown -R nobody.nobody /var/log/nginx
|
||||
chown -R nobody.nobody /var/log/nginx && \
|
||||
chown -R nobody.nobody /var/log/php82
|
||||
|
||||
|
||||
# Switch to use a non-root user from here on
|
||||
|
Loading…
Reference in New Issue
Block a user