mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update Dockerfile
This commit is contained in:
@@ -22,14 +22,13 @@ RUN \
|
|||||||
\
|
\
|
||||||
&& mv /bashio/bashio/lib /usr/lib/bashio \
|
&& mv /bashio/bashio/lib /usr/lib/bashio \
|
||||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||||
&& rm -fr \
|
&& rm -fr /bashio \
|
||||||
/bashio \
|
|
||||||
\
|
\
|
||||||
###############
|
###############
|
||||||
# Adapt image #
|
# Adapt image #
|
||||||
###############
|
###############
|
||||||
# Correct data path
|
# Correct data path
|
||||||
&& grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/data|g'
|
&& grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/data|g' \
|
||||||
# Add nginx
|
# Add nginx
|
||||||
&& sed -i 's|#!/bin/sh|#!/bin/env bashio|g' /app/mealie/run.sh \
|
&& sed -i 's|#!/bin/sh|#!/bin/env bashio|g' /app/mealie/run.sh \
|
||||||
&& cat /nginx.txt >> /app/mealie/run.sh
|
&& cat /nginx.txt >> /app/mealie/run.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user