From 524aeee969d41ee0c9676640f5a2b7b8b78d5cde Mon Sep 17 00:00:00 2001 From: its-a-feature Date: Sat, 31 Aug 2024 09:58:15 -0500 Subject: [PATCH] updating for better local builds with donut --- Payload_Type/apollo/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Payload_Type/apollo/Dockerfile b/Payload_Type/apollo/Dockerfile index 83d1f43a..3e2c8693 100644 --- a/Payload_Type/apollo/Dockerfile +++ b/Payload_Type/apollo/Dockerfile @@ -19,6 +19,6 @@ RUN /venv/bin/python -m pip install mslex COPY [".", "."] # fetch all dependencies -RUN cd apollo/agent_code && dotnet restore && rm donut && cp /donut donut +RUN cd apollo/agent_code && dotnet restore && rm donut ; cp /donut donut -CMD ["/venv/bin/python", "main.py"] +CMD ["bash", "-c", "cp /donut donut && /venv/bin/python main.py"]