libervia-backend/docker/libervia/Dockerfile
Goffi 0e7f9c1247 docker: dockers images, first draft:
This patch introduce new docker images, replacing the unmaintained ones which were in
sat_docs.

Images + docker-compose files are provided to use SàT backend and Libervia, but also to
integrate and configure Prosody and SàT PubSub to run end-to-end tests.
2020-10-19 09:30:45 +02:00

17 lines
427 B
Docker

FROM salutatoi/sat:latest
LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"
ARG DEBIAN_FRONTEND=noninteractive
USER root
RUN apt-get install -y --no-install-recommends yarnpkg
WORKDIR /home/sat
USER sat
RUN cd /src && hg clone https://repos.goffi.org/libervia && \
~/sat_env/bin/pip install -e libervia && \
mv libervia/libervia.egg-info ~/sat_env/lib/python3.*/site-packages
ENTRYPOINT ["libervia"]
CMD ["fg"]