diff --git a/jitsi_admin_websocket_dockerfile.txt b/jitsi_admin_websocket_dockerfile.txt index 77437c5..d33efdb 100644 --- a/jitsi_admin_websocket_dockerfile.txt +++ b/jitsi_admin_websocket_dockerfile.txt @@ -14,18 +14,17 @@ LABEL version="${VERSION}" \ org.opencontainers.image.documentation="https://meetling.de" \ org.opencontainers.image.url="https://jitsi-admin.de" -USER node - WORKDIR /usr/src/app RUN wget https://github.com/H2-invent/jitsi-admin/releases/download/${VERSION}/websocket.zip -O artifact.zip \ && unzip artifact.zip \ && chown -R nobody . \ - && chmod -R 700 . \ && rm artifact.zip EXPOSE 3000 +USER node + ENV WEBSOCKET_SECRET=CHANGEME HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:3000/healthz || exit 1