Skip to content

Commit

Permalink
Merge pull request #22 from JonBendtsen/patch-2
Browse files Browse the repository at this point in the history
makes all dolibarr html and php files read-only
  • Loading branch information
eldy authored Nov 8, 2024
2 parents ccc7d5c + 27e95a8 commit f54f886
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.
rm -rf /tmp/* && \
mkdir -p /var/www/documents && \
mkdir -p /var/www/html/custom && \
chown -R www-data:www-data /var/www
chown -R www-data:www-data /var/www && \
chmod -R u-w /var/www/html

EXPOSE 80
VOLUME /var/www/documents
Expand Down

0 comments on commit f54f886

Please sign in to comment.