comparison docker/libervia-web-dev/Dockerfile @ 3497:73e04040d577

docker: update following name changes: `backend_e2e` now print properly backend logs
author Goffi <goffi@goffi.org>
date Fri, 16 Apr 2021 18:32:16 +0200
parents docker/libervia/Dockerfile@2da32cdf4e53
children 443b3a784eba
comparison
equal deleted inserted replaced
3496:c018c510a562 3497:73e04040d577
1 FROM libervia/backend:dev
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/libervia
11 USER libervia
12 RUN cd /src && hg clone https://repos.goffi.org/libervia && \
13 ~/libervia_env/bin/pip install -e libervia && \
14 mv libervia/libervia.egg-info ~/libervia_env/lib/python3.*/site-packages
15
16 RUN ./entrypoint.sh \
17 # we build here to avoid re-downloading node modules or other browser
18 # dependencies on each run
19 libervia-web fg -- --build-only && \
20 libervia-backend stop
21
22 EXPOSE 8080 8443
23
24 ENTRYPOINT ["libervia-web"]
25 CMD ["fg"]