Update Dockerfile

This commit is contained in:
Alexandre
2021-11-13 07:44:45 +01:00
committed by GitHub
parent 6736121028
commit 9505f6d132

View File

@@ -25,7 +25,7 @@ RUN \
| tar -xzf - --strip 1 -C /tmp/bashio \ | tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \ && mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ && ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio && rm -rf /tmp/bashio || true
# Copy root filesystem # Copy root filesystem
COPY rootfs / COPY rootfs /
@@ -34,9 +34,9 @@ RUN \
############### ###############
# Permissions # # Permissions #
############### ###############
chmod 777 /run.sh chmod 777 /entrypoint.sh
ENTRYPOINT [ "/run.sh" ] ENTRYPOINT [ "/entrypoint.sh" ]
VOLUME [ "/data" ] VOLUME [ "/data" ]