mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update Dockerfile
This commit is contained in:
@@ -5,9 +5,6 @@ FROM ${BUILD_FROM}${BUILD_VERSION}
|
|||||||
# Copy root filesystem
|
# Copy root filesystem
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
VOLUME [ "/data" ]
|
|
||||||
VOLUME [ "/share" ]
|
|
||||||
|
|
||||||
# Add bashio
|
# Add bashio
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
curl \
|
curl \
|
||||||
@@ -38,3 +35,5 @@ RUN apk add --no-cache \
|
|||||||
# Allow maximum memory setting
|
# Allow maximum memory setting
|
||||||
&& sed -i 's|bash|bashio|g' /etc/services.d/ubooquity/run \
|
&& sed -i 's|bash|bashio|g' /etc/services.d/ubooquity/run \
|
||||||
&& sed -i 's|{MAXMEM:-512}|(bashio::config "maxmem")|g' /etc/services.d/ubooquity/run
|
&& sed -i 's|{MAXMEM:-512}|(bashio::config "maxmem")|g' /etc/services.d/ubooquity/run
|
||||||
|
|
||||||
|
VOLUME [ "/data" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user