We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 265b52e commit 08b2a34Copy full SHA for 08b2a34
infra/docker/Dockerfile
@@ -36,6 +36,8 @@ COPY infra/docker/.htaccess public/
36
# Update project
37
RUN /usr/bin/composer install --no-dev \
38
&& ./scripts/post-create-project \
39
- && chown 33:33 -R .
+ && chown www-data:www-data -R .
40
41
-CMD ["apache2-foreground"]
+COPY infra/docker/entrypoint.sh /
42
+
43
+ENTRYPOINT ["/entrypoint.sh", "apache2-foreground"]
infra/docker/entrypoint.sh
@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+set -e
3
4
+chown -R www-data:www-data /var/app/data
5
6
+if [ -d /mnt/applications ]
7
+then
8
+ chown -R www-data:www-data /mnt/applications
9
+fi
10
11
+exec "$@"
0 commit comments