Update jitsi_admin_websocket_dockerfile.txt
This commit is contained in:
parent
fee5305305
commit
1c51a46773
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue