Skip to content

Commit f54f886

Browse files
authored
Merge pull request #22 from JonBendtsen/patch-2
makes all dolibarr html and php files read-only
2 parents ccc7d5c + 27e95a8 commit f54f886

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.
8888
rm -rf /tmp/* && \
8989
mkdir -p /var/www/documents && \
9090
mkdir -p /var/www/html/custom && \
91-
chown -R www-data:www-data /var/www
91+
chown -R www-data:www-data /var/www && \
92+
chmod -R u-w /var/www/html
9293

9394
EXPOSE 80
9495
VOLUME /var/www/documents

0 commit comments

Comments
 (0)