Docker: Fix permission issues

This commit is contained in:
Dorian Zedler 2022-05-12 17:28:33 +02:00
parent c420041d3c
commit 199e7c5066
Signed by: dorian
GPG Key ID: 989DE36109AFA354
2 changed files with 1 additions and 2 deletions

View File

@ -60,6 +60,7 @@ RUN \
COPY root/ /
COPY src/ /var/www/html
COPY --from=builder /src/version.php /var/www/html
RUN chown -R abc:abc /var/www
VOLUME /config
EXPOSE 80

View File

@ -1,7 +1,5 @@
#!/usr/bin/with-contenv bash
chown -R abc:abc /var/www
# create directory structure
mkdir -p \
/config/www