Mercurial > libervia-backend
view docker/libervia-web-dev/Dockerfile @ 3700:cfc06915de15
plugin email invitations: re-use existing invitation for a given email:
if an invitation is done on an email which has already received an invitation, it is
re-used and no new XMPP account or Libervia profile is created (the name is modified
though).
This is currently done in an inefficient way due to `LazyPersistentBinaryDict` limitations
(all invitations are loaded and checked to find the email). A more efficient check should
be easier to implement with storage changes in 0.9 .
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 05 Nov 2021 18:11:18 +0100 |
parents | 1680eec4cbfd |
children | 43cc8c27adc7 |
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 && \ mv libervia-web/libervia_web.egg-info ~/libervia_env/lib/python3.*/site-packages 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"]