diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..a9e5378 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +org-agent-server +.git +.env +tests/ diff --git a/deploy/docker/Dockerfile b/deploy/docker/Dockerfile index db1ced0..a97abf6 100644 --- a/deploy/docker/Dockerfile +++ b/deploy/docker/Dockerfile @@ -21,6 +21,9 @@ WORKDIR /app COPY org-agent.asd /app/ COPY src/ /app/src/ +# Ensure we aren't using a stale binary from the host +RUN rm -f /app/org-agent-server + # Build the standalone binary natively inside the container # This ensures GLIBC compatibility with the runtime environment. RUN sbcl --non-interactive \