Commit a1cd846d33b5ff253be19d872f7227c6fd87b749
1 parent
64fe9f0c
Exists in
dev
add export on pyros_docker scripts and optimize dockerfile
Showing
9 changed files
with
30 additions
and
6 deletions
Show diff stats
docker/Dockerfile
... | ... | @@ -178,12 +178,13 @@ USER pyros_user |
178 | 178 | # TODO: pourquoi numpy ??? A virer ? |
179 | 179 | #RUN pip install --user numpy |
180 | 180 | |
181 | -# Copy local host machine files to image | |
182 | -COPY --chown=pyros_user:pyros_user . . | |
183 | -# Copy some aliases | |
184 | -RUN cp .bash_aliases .. | |
185 | -#RUN mv .bash_aliases .. | |
181 | +RUN mkdir -p ./vendor/guitastro/install/ | |
182 | +RUN mkdir -p ./install/ | |
186 | 183 | |
184 | +# Copy local host machine files to image | |
185 | +COPY ./vendor/guitastro/install/requirements.in ./vendor/guitastro/install/requirements.in | |
186 | +COPY ./install/requirements.txt ./install/requirements.txt | |
187 | +COPY ./install/requirements_dev.txt ./install/requirements_dev.txt | |
187 | 188 | |
188 | 189 | # Adding local/bin to path to avoid pip warning |
189 | 190 | ENV PATH "$PATH:/home/pyros_user/.local/bin" | ... | ... |
docker/PYROS_DOCKER_BUILD.sh
docker/PYROS_DOCKER_INSTALL
docker/PYROS_DOCKER_RUN
docker/PYROS_DOCKER_RUN_WEBSERVER_ONLY
docker/PYROS_DOCKER_SHELL
docker/PYROS_DOCKER_TEST
docker/PYROS_DOCKER_UPDATE