Update Dockerfile

This commit is contained in:
Alexandre
2021-10-21 21:54:28 +02:00
committed by GitHub
parent 809fd091b2
commit 06437dfd9e

View File

@@ -32,11 +32,10 @@ RUN \
################
# Use data from addon options for all values
&& sed -i 's|cat \"\$|jq .|g' /docker-entrypoint.sh \
&& sed -i 's|_FILE" 2> /dev/null| /data/options.json|g' /docker-entrypoint.sh \
\
&& sed -i 's|_FILE" 2> /dev/null| /data/options.json|g' /docker-entrypoint.sh
# Add initial script
&& chmod a+x /run.sh \
&& sed -i "2 i\./run.sh" /docker-entrypoint.sh
# && chmod a+x /run.sh \
# && sed -i "2 i\./run.sh" /docker-entrypoint.sh
#VOLUME [ "/data" ]
#USER root