This commit is contained in:
Alexandre
2024-03-17 10:00:53 +01:00
parent 80ab9db6b9
commit 8a3ca6460e
2 changed files with 4 additions and 3 deletions

View File

@@ -28,6 +28,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
S6_SERVICES_GRACETIME=0 S6_SERVICES_GRACETIME=0
WORKDIR /linkwarden
# Adapt image # Adapt image
RUN \ RUN \
# Keep data # Keep data
@@ -42,7 +44,7 @@ RUN \
sed -i "s|postgresql|sqlite|g" /linkwarden/prisma/schema.prisma && \ sed -i "s|postgresql|sqlite|g" /linkwarden/prisma/schema.prisma && \
\ \
# Reinstall app # Reinstall app
cd /bitwarden && \ cd /linkwarden && \
yarn && \ yarn && \
npx playwright install-deps && \ npx playwright install-deps && \
yarn build && \ yarn build && \
@@ -85,7 +87,6 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
WORKDIR /linkwarden
ENTRYPOINT [ "/usr/bin/env" ] ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ] CMD [ "/ha_entrypoint.sh" ]
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]

View File

@@ -29,6 +29,6 @@
"slug": "linkwarden", "slug": "linkwarden",
"udev": true, "udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/linkwarden", "url": "https://github.com/alexbelgium/hassio-addons/tree/master/linkwarden",
"version": "1.6", "version": "1.7",
"webui": "[PROTO:ssl]://[HOST]:[PORT:3000]" "webui": "[PROTO:ssl]://[HOST]:[PORT:3000]"
} }