Update Dockerfile

This commit is contained in:
Alexandre
2021-10-20 22:30:25 +02:00
committed by GitHub
parent 31b341c667
commit 5d1f3caee6

View File

@@ -33,11 +33,11 @@ RUN \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio \
\
################
# Modify image #
################
&& sed -i 's/bash/bashio/g' /docker-entrypoint.sh
&& chmod +x /run.sh
#&& sed -i 's!/bin/bash/bashio/g' /docker-entrypoint.sh
# Add script
#&& sed -i '1d' /docker-entrypoint.sh \
# && cat /newscript > /temporaryfile \
@@ -57,6 +57,7 @@ RUN \
ENV WEBTREES_HOME="/data"
WORKDIR $WEBTREES_HOME
ENTRYPOINT ["/run.sh"]
#COPY /var/www/webtrees/.htaccess $WEBTREES_HOME