Update Dockerfile

This commit is contained in:
Alexandre
2021-10-19 17:47:50 +02:00
committed by GitHub
parent ab33e3e250
commit b583a03c7e

View File

@@ -10,6 +10,9 @@ ARG BASHIO_VERSION=0.13.1
ARG TEMPIO_VERSION=2021.01.0 ARG TEMPIO_VERSION=2021.01.0
ARG BUILD_ARCH ARG BUILD_ARCH
# Copy root filesystem
COPY rootfs /
RUN \ RUN \
################ ################
# Install apps # # Install apps #
@@ -30,15 +33,15 @@ RUN \
&& 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
\
# Copy root filesystem ################
COPY rootfs / # Modify image #
################
RUN cp -n /config.ini.php /data \ && cp -n /config.ini.php /data \
&& ln -s /data/config.ini.php /var/www/webtrees/data && ln -s /data/config.ini.php /var/www/webtrees/data
# && ln -s /data/database.sqlite /var/www/webtrees/data \ && touch /data/webtrees.sqlite \
# && touch /data/database.sqlite \ && ln -s /data/webtrees.sqlite /var/www/webtrees/data
# && ln -s /data/index.php /var/www/webtrees/data
#RUN rm -R /var/www/webtrees/data \ #RUN rm -R /var/www/webtrees/data \
# && ln -s /data /var/www/webtrees # && ln -s /data /var/www/webtrees