Update Dockerfile

This commit is contained in:
Alexandre
2021-10-21 22:22:12 +02:00
committed by GitHub
parent a18b1b2a86
commit c0db81de8d

View File

@@ -31,8 +31,8 @@ RUN \
# Modify image #
################
# 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|cat \"\$|jq ."|g' /docker-entrypoint.sh \
&& sed -i 's|_FILE" 2> /dev/null| //empty" /data/options.json|g' /docker-entrypoint.sh
# Add initial script
# && chmod a+x /run.sh \
# && sed -i "2 i\./run.sh" /docker-entrypoint.sh