aletrn commited on
Commit
7f05a36
·
1 Parent(s): c2f5547

ci: improve docker build process aadding --no-cache to poetry install steps (cache is on docker image level anyway)

Browse files
Files changed (1) hide show
  1. dockerfiles/dockerfile-samgis-base +1 -1
dockerfiles/dockerfile-samgis-base CHANGED
@@ -49,7 +49,7 @@ RUN python -m pip install -r ${WORKDIR_ROOT}/requirements_poetry.txt
49
  RUN which poetry && poetry --version && poetry config --list
50
  RUN poetry config virtualenvs.path ${WORKDIR_ROOT}
51
  RUN echo "# poetry config --list #" && poetry config --list
52
- RUN poetry install --with ${DEPENDENCY_GROUP} --no-root
53
 
54
 
55
  FROM python:3.11-slim-bookworm AS runtime
 
49
  RUN which poetry && poetry --version && poetry config --list
50
  RUN poetry config virtualenvs.path ${WORKDIR_ROOT}
51
  RUN echo "# poetry config --list #" && poetry config --list
52
+ RUN poetry install --with ${DEPENDENCY_GROUP} --no-root --no-cache
53
 
54
 
55
  FROM python:3.11-slim-bookworm AS runtime