mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 01:31:51 +02:00
Update Dockerfile
This commit is contained in:
@@ -7,6 +7,8 @@ ARG BASHIO_VERSION=0.13.1
|
|||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
ENV WEBTREES_HOME="/data/webtrees"
|
ENV WEBTREES_HOME="/data/webtrees"
|
||||||
|
WORKDIR $WEBTREES_HOME
|
||||||
|
ENTRYPOINT ["/run.sh"]
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
################
|
################
|
||||||
@@ -44,7 +46,7 @@ RUN \
|
|||||||
# Add entry script
|
# Add entry script
|
||||||
&& chown www-data:www-data /start.sh \
|
&& chown www-data:www-data /start.sh \
|
||||||
&& chmod a+x /start.sh \
|
&& chmod a+x /start.sh \
|
||||||
&& sed -i "2 i\cd / && ./start.sh" /docker-entrypoint.sh \
|
#&& sed -i "2 i\cd / && ./start.sh" /docker-entrypoint.sh \
|
||||||
# Add end script
|
# Add end script
|
||||||
&& chown www-data:www-data /end.sh \
|
&& chown www-data:www-data /end.sh \
|
||||||
&& chmod a+x /end.sh \
|
&& chmod a+x /end.sh \
|
||||||
|
|||||||
Reference in New Issue
Block a user