Update Dockerfile

This commit is contained in:
Alexandre
2021-08-28 16:00:59 +02:00
committed by GitHub
parent 5c4c48af41
commit 50972506c7

View File

@@ -22,17 +22,9 @@ RUN \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio \
###################
# Configure image #
###################
&& touch /data/options.json \
&& chmod u+r /data/options.json || true
&& rm -rf /tmp/bashio
# Copy root filesystem
ARG user=joplin
USER $user
COPY --chown=$user:$user rootfs /
COPY rootfs /
RUN chmod +x /run.sh
ENTRYPOINT [ "/usr/bin/env" ]