mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-21 23:09:14 +02:00
Update Dockerfile
This commit is contained in:
@@ -33,11 +33,6 @@ RUN sed -i "s|data|share/nextcloud|g" /etc/cont-init.d/* \
|
|||||||
|
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
|
|
||||||
# Allow UID and GID setting
|
|
||||||
RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
|
|
||||||
&& sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \
|
|
||||||
&& sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser
|
|
||||||
|
|
||||||
RUN ["chmod", "+x", "/defaults/nextcloud-perms.sh"]
|
RUN ["chmod", "+x", "/defaults/nextcloud-perms.sh"]
|
||||||
|
|
||||||
VOLUME ["/share", "/ssl", "/data", "/media"]
|
VOLUME ["/share", "/ssl", "/data", "/media"]
|
||||||
|
|||||||
Reference in New Issue
Block a user