comparison docker/libervia/Dockerfile @ 3381:127dde80a0a5

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.
author Goffi <goffi@goffi.org>
date Mon, 19 Oct 2020 09:30:45 +0200
parents
children ccb2a7e66f7d
comparison
equal deleted inserted replaced
3380:4dbf9fcbf26d 3381:127dde80a0a5
1 FROM salutatoi/sat:latest
2
3 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"
4
5 ARG DEBIAN_FRONTEND=noninteractive
6
7 USER root
8
9 RUN apt-get install -y --no-install-recommends yarnpkg
10 WORKDIR /home/sat
11 USER sat
12 RUN cd /src && hg clone https://repos.goffi.org/libervia && \
13 ~/sat_env/bin/pip install -e libervia && \
14 mv libervia/libervia.egg-info ~/sat_env/lib/python3.*/site-packages
15
16 ENTRYPOINT ["libervia"]
17 CMD ["fg"]