view docker/libervia-web-dev/Dockerfile @ 4055:38819c69aa39

plugin XEP-0353: update according to XEP changes + <description> fix: - `XEP-0166_initiate_elt_built` trigger is now used to have the `<description>` element built, so they can be used with there correct arguments in the jingle initiation message - add message processing hint as it is now specified in the XEP
author Goffi <goffi@goffi.org>
date Mon, 29 May 2023 13:32:40 +0200
parents 43cc8c27adc7
children
line wrap: on
line source

ARG REVISION
FROM libervia/backend:${REVISION:-dev}

LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"

ARG REVISION
ARG DEBIAN_FRONTEND=noninteractive

USER root

RUN apt-get install -y --no-install-recommends yarnpkg
WORKDIR /home/libervia
USER libervia
RUN cd /src && hg clone https://repos.goffi.org/libervia-web -u "${REVISION:-@}" && \
    ~/libervia_env/bin/pip install -e libervia-web

RUN ./entrypoint.sh \
    # we build here to avoid re-downloading node modules or other browser
    # dependencies on each run
    libervia-web fg -- --build-only && \
    libervia-backend stop

EXPOSE 8080 8443

ENTRYPOINT ["libervia-web"]
CMD ["fg"]