Update Dockerfile

This commit is contained in:
Alexandre
2021-02-16 13:10:13 +01:00
committed by GitHub
parent 55276d72a7
commit b2425605a5

View File

@@ -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" ]