File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,10 @@ COPY --from=build opengrok.tar.gz /opengrok.tar.gz
8484RUN mkdir -p /opengrok /opengrok/etc /opengrok/data /opengrok/src && \
8585 tar -zxvf /opengrok.tar.gz -C /opengrok --strip-components 1 && \
8686 rm -f /opengrok.tar.gz && \
87- python3 -m pip install --no-cache-dir /opengrok/tools/opengrok-tools.tar.gz && \
88- python3 -m pip install --no-cache-dir Flask Flask-HTTPAuth waitress # for /reindex REST endpoint handled by start.py
87+ python3 -m venv /venv
88+ ENV PATH=/venv/bin:$PATH
89+ RUN /venv/bin/python3 -m pip install --no-cache-dir /opengrok/tools/opengrok-tools.tar.gz && \
90+ /venv/bin/python3 -m pip install --no-cache-dir Flask Flask-HTTPAuth waitress # for /reindex REST endpoint handled by start.py
8991
9092COPY --from=build /mvn/VERSION /opengrok/VERSION
9193
You can’t perform that action at this time.
0 commit comments