Add trading agents directory for appuser

Create a directory for trading agents and set ownership to fix the PermissionError I faced. Hopefully will fix for other users as well.
This commit is contained in:
Varun 2026-04-20 09:09:50 +04:00 committed by GitHub
parent fa4d01c23a
commit 7b4c746dca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ COPY --from=builder /opt/venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN useradd --create-home appuser
RUN mkdir -p /home/appuser/.tradingagents
RUN chown -R appuser:appuser /home/appuser/.tradingagents
USER appuser
WORKDIR /home/appuser/app