Docker: Fix permission issues
This commit is contained in:
parent
c420041d3c
commit
199e7c5066
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
chown -R abc:abc /var/www
|
||||
|
||||
# create directory structure
|
||||
mkdir -p \
|
||||
/config/www
|
||||
|
|
Loading…
Reference in a new issue