Simplify tool file copying in Dockerfile
Removed specific tool files from Dockerfile and added a directory copy instead.
This commit is contained in:
@@ -173,15 +173,7 @@ COPY strix/config/ /app/strix/config/
|
|||||||
COPY strix/utils/ /app/strix/utils/
|
COPY strix/utils/ /app/strix/utils/
|
||||||
COPY strix/telemetry/ /app/strix/telemetry/
|
COPY strix/telemetry/ /app/strix/telemetry/
|
||||||
COPY strix/runtime/tool_server.py strix/runtime/__init__.py strix/runtime/runtime.py /app/strix/runtime/
|
COPY strix/runtime/tool_server.py strix/runtime/__init__.py strix/runtime/runtime.py /app/strix/runtime/
|
||||||
|
COPY strix/tools/ /app/strix/tools/
|
||||||
COPY strix/tools/__init__.py strix/tools/registry.py strix/tools/executor.py strix/tools/argument_parser.py strix/tools/context.py /app/strix/tools/
|
|
||||||
|
|
||||||
COPY strix/tools/browser/ /app/strix/tools/browser/
|
|
||||||
COPY strix/tools/file_edit/ /app/strix/tools/file_edit/
|
|
||||||
COPY strix/tools/notes/ /app/strix/tools/notes/
|
|
||||||
COPY strix/tools/python/ /app/strix/tools/python/
|
|
||||||
COPY strix/tools/terminal/ /app/strix/tools/terminal/
|
|
||||||
COPY strix/tools/proxy/ /app/strix/tools/proxy/
|
|
||||||
|
|
||||||
RUN echo 'export PATH="/home/pentester/go/bin:/home/pentester/.local/bin:/home/pentester/.npm-global/bin:$PATH"' >> /home/pentester/.bashrc && \
|
RUN echo 'export PATH="/home/pentester/go/bin:/home/pentester/.local/bin:/home/pentester/.npm-global/bin:$PATH"' >> /home/pentester/.bashrc && \
|
||||||
echo 'export PATH="/home/pentester/go/bin:/home/pentester/.local/bin:/home/pentester/.npm-global/bin:$PATH"' >> /home/pentester/.profile
|
echo 'export PATH="/home/pentester/go/bin:/home/pentester/.local/bin:/home/pentester/.npm-global/bin:$PATH"' >> /home/pentester/.profile
|
||||||
|
|||||||
Reference in New Issue
Block a user