fix(docker): chown .pi to thoth so Pi locks survive rebuilds
This commit is contained in:
@@ -31,6 +31,8 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
|
|||||||
RUN useradd --create-home --uid 10001 --shell /bin/bash thoth
|
RUN useradd --create-home --uid 10001 --shell /bin/bash thoth
|
||||||
|
|
||||||
COPY harness/ /app/harness/
|
COPY harness/ /app/harness/
|
||||||
|
# Pi scrive lock/settings in .pi: ownership thoth per sopravvivere al rebuild
|
||||||
|
RUN chown -R thoth:thoth /app/harness/.pi
|
||||||
|
|
||||||
# Harness: venv nativo (python 3.12) + tht installato (non-editable).
|
# Harness: venv nativo (python 3.12) + tht installato (non-editable).
|
||||||
# tht carica workflow.yaml module-relative (Path(__file__).parent.parent); con il package
|
# tht carica workflow.yaml module-relative (Path(__file__).parent.parent); con il package
|
||||||
|
|||||||
Reference in New Issue
Block a user