fix: initialize workspace secret volume for runtime
This commit is contained in:
@@ -54,7 +54,7 @@ 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
|
||||
# Docker copies these owned directories into newly-created named volumes, allowing the non-root
|
||||
# runtime user to create application settings, sessions, registry snapshots, state, and locks.
|
||||
RUN mkdir -p /home/thoth/.pi/agent /data/settings /data/sessions /data/workspace-registry \
|
||||
RUN mkdir -p /home/thoth/.pi/agent /data/settings /data/sessions /data/workspace-registry /data/workspace-secrets \
|
||||
&& chown -R thoth:thoth /home/thoth/.pi /data
|
||||
|
||||
COPY harness/ /app/harness/
|
||||
|
||||
Reference in New Issue
Block a user