Update Dockerfile

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

View File

@@ -32,8 +32,11 @@ 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| //empty" /data/options.json|g' /docker-entrypoint.sh
# Add initial script
&& sed -i 's|_FILE" 2> /dev/null| //empty" /data/options.json|g' /docker-entrypoint.sh \
# Remove last line and add copy script
&& sed -i '$ d' /docker-entrypoint.sh
# Add initial script
# && chmod a+x /run.sh \
# && sed -i "2 i\./run.sh" /docker-entrypoint.sh