fix(ares): correct donut copy path in Dockerfile CMD

The copy command in the CMD directive was using a relative path that didn't match the actual container directory structure. This ensures the donut executable is copied to the correct absolute path before starting the agent.
This commit is contained in:
Aryma
2026-04-15 01:26:52 +07:00
parent acb4291b69
commit 5110b9e400

View File

@@ -20,4 +20,4 @@ COPY [".", "."]
RUN cd ares/agent_code && dotnet restore --verbosity quiet && rm donut ; cp /donut donut
RUN cd ares/agent_code && cp COFFLoader.dll /COFFLoader.dll
CMD ["bash", "-c", "cp /donut ares/agent_code/donut && /venv/bin/python main.py"]
CMD ["bash", "-c", "cp /donut /Mythic/ares/agent_code/donut && /venv/bin/python main.py"]