diff --git a/Dockerfile b/Dockerfile index 4c3728c..850eef7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/root/etc/cont-init.d/50-config b/root/etc/cont-init.d/50-config index d4e720d..58657f6 100644 --- a/root/etc/cont-init.d/50-config +++ b/root/etc/cont-init.d/50-config @@ -1,7 +1,5 @@ #!/usr/bin/with-contenv bash -chown -R abc:abc /var/www - # create directory structure mkdir -p \ /config/www