mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 17:38:17 +01:00
Update Dockerfile
This commit is contained in:
@@ -5,6 +5,9 @@ FROM ${BUILD_FROM}${BUILD_VERSION}
|
||||
# Copy root filesystem
|
||||
COPY rootfs /
|
||||
|
||||
VOLUME [ "/data" ]
|
||||
VOLUME [ "/share" ]
|
||||
|
||||
# Add bashio
|
||||
RUN apk add --no-cache \
|
||||
curl \
|
||||
@@ -35,6 +38,3 @@ RUN apk add --no-cache \
|
||||
# Allow maximum memory setting
|
||||
&& 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
|
||||
|
||||
VOLUME [ "/data" ]
|
||||
VOLUME [ "/share" ]
|
||||
|
||||
Reference in New Issue
Block a user