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 root/ /
COPY src/ /var/www/html COPY src/ /var/www/html
COPY --from=builder /src/version.php /var/www/html COPY --from=builder /src/version.php /var/www/html
RUN chown -R abc:abc /var/www
VOLUME /config VOLUME /config
EXPOSE 80 EXPOSE 80

View file

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