Update jitsi_admin_websocket_dockerfile.txt

This commit is contained in:
holzi1005 2024-11-18 14:50:11 +01:00
parent fee5305305
commit 1c51a46773

View file

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