Skip to content

Commit 868f948

Browse files
committed
Fix template cache dir permissions
1 parent 841e0d0 commit 868f948

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ RUN apk add --no-cache bash curl dovecot mysql-client c-client imap-dev su-exec
1111
&& rm -rf /var/cache/apk/* \
1212
&& curl --location https://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-${VERSION}/postfixadmin-${VERSION}.tar.gz \
1313
| tar xzf - --no-same-owner --one-top-level=/www --strip=1 \
14+
&& mkdir -p /www/templates_c \
15+
&& chown nobody /www/templates_c \
1416
&& mkdir /config
1517

1618
COPY config.php php.ini run.sh /

0 commit comments

Comments
 (0)