comparison docker/libervia-web-dev/Dockerfile @ 3730:43cc8c27adc7

docker: don't move `.egg_info` files anymore: moving `.egg_info` cause trouble, and doesn't seem necessary anymore.
author Goffi <goffi@goffi.org>
date Mon, 31 Jan 2022 18:35:52 +0100
parents 1680eec4cbfd
children
comparison
equal deleted inserted replaced
3729:86eea17cafa7 3730:43cc8c27adc7
10 10
11 RUN apt-get install -y --no-install-recommends yarnpkg 11 RUN apt-get install -y --no-install-recommends yarnpkg
12 WORKDIR /home/libervia 12 WORKDIR /home/libervia
13 USER libervia 13 USER libervia
14 RUN cd /src && hg clone https://repos.goffi.org/libervia-web -u "${REVISION:-@}" && \ 14 RUN cd /src && hg clone https://repos.goffi.org/libervia-web -u "${REVISION:-@}" && \
15 ~/libervia_env/bin/pip install -e libervia-web && \ 15 ~/libervia_env/bin/pip install -e libervia-web
16 mv libervia-web/libervia_web.egg-info ~/libervia_env/lib/python3.*/site-packages
17 16
18 RUN ./entrypoint.sh \ 17 RUN ./entrypoint.sh \
19 # we build here to avoid re-downloading node modules or other browser 18 # we build here to avoid re-downloading node modules or other browser
20 # dependencies on each run 19 # dependencies on each run
21 libervia-web fg -- --build-only && \ 20 libervia-web fg -- --build-only && \