Adds logs mount to pf service and adds logrotate
This commit is contained in:
parent
c62062f956
commit
9a4d9c75bd
1 changed files with 3 additions and 1 deletions
|
|
@ -13,8 +13,10 @@ RUN composer self-update 2.1.8
|
|||
RUN composer install
|
||||
|
||||
FROM trafex/alpine-nginx-php7:ba1dd422
|
||||
RUN apk update && apk add --no-cache busybox-suid sudo php7-redis php7-pdo php7-pdo_mysql php7-fileinfo shadow gettext bash apache2-utils
|
||||
|
||||
RUN apk update && apk add --no-cache busybox-suid sudo php7-redis php7-pdo php7-pdo_mysql php7-fileinfo shadow gettext bash apache2-utils logrotate
|
||||
|
||||
COPY static/logrotate/pathfinder /etc/logrotate.d/pathfinder
|
||||
COPY static/nginx/nginx.conf /etc/nginx/templateNginx.conf
|
||||
# we need to create sites_enabled directory in order for entrypoint.sh being able to copy file after envsubst
|
||||
RUN mkdir -p /etc/nginx/sites_enabled/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue