view docker/libervia-web-dev/Dockerfile @ 3902:32b38dd3ac18

plugin events: update following `Events` protoXEP submission: update the plugin to follow the specification proposed at https://github.com/xsf/xeps/pull/1206 Events are internally converted to a dict following a format described in `event_data_2_event_elt` docstring. RSVP mechanism now uses Pubsub Attachments (XEP-0470), with a user extensible data form. Bridge methods signatures have changed. rel 372
author Goffi <goffi@goffi.org>
date Wed, 21 Sep 2022 22:41:49 +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"]