Possible fix

Error: s6-overlay-suexec: fatal: can only run as pid 1
This commit is contained in:
Jørgen Ferdinand 2025-03-07 22:27:35 +01:00
parent ee7dd5da82
commit c8bb9cbb3f
2 changed files with 13 additions and 12 deletions

View file

@ -1,10 +1,9 @@
# Use the official Home Assistant add-on base image
FROM ghcr.io/hassio-addons/base:14.0.0
# Install dependencies
RUN apk add --no-cache docker-cli
# Copy the run script
# Copy the script into the container
COPY run.sh /run.sh
RUN chmod +x /run.sh
CMD [ "/run.sh" ]
# Run the script as the main process
CMD [ "/run.sh" ]