mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-02-12 17:22:50 +00:00
fix: configure git to trust all directories in Docker
Co-Authored-By: Khaushik-keygraph <khaushik.contractor@keygraph.io>
This commit is contained in:
@@ -130,6 +130,9 @@ RUN mkdir -p /app/sessions /app/deliverables /app/repos && \
|
||||
# Switch to non-root user
|
||||
USER pentest
|
||||
|
||||
# Configure Git to trust all directories
|
||||
RUN git config --global --add safe.directory '*'
|
||||
|
||||
# Set environment variables
|
||||
ENV NODE_ENV=production
|
||||
ENV PATH="/usr/local/bin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user