mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-05 15:15:58 +02:00
Update Dockerfile
This commit is contained in:
@@ -74,7 +74,7 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
|
|||||||
|
|
||||||
RUN chmod 777 /docker-entrypoint-initdb.d/* && \
|
RUN chmod 777 /docker-entrypoint-initdb.d/* && \
|
||||||
# Close gracefully
|
# Close gracefully
|
||||||
sed -i "s|trap terminate|trap 'gosu postgres pg_ctl -D \"\$PGDATA\" -m fast stop; exit 0'|g" /ha_entrypoint.sh
|
sed -i "s|trap terminate|trap 'gosu postgres pg_ctl -D \"\$PGDATA\" -m fast stop'|g" /ha_entrypoint.sh
|
||||||
|
|
||||||
WORKDIR /config
|
WORKDIR /config
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user