Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
debugging Dockerfile - ensure static build
Dane Schneiderd74435612c44
diff --git a/app/Dockerfile.server b/app/Dockerfile.serverindex d9481f0c..3dc8a8ef 100644--- a/app/Dockerfile.server+++ b/app/Dockerfile.server@@ -15,9 +15,8 @@ COPY ./shared ./sharedWORKDIR /app/serverENV GOOS=linuxENV GOARCH=amd64--RUN ls .-RUN go build -o plandex-server . && ls -l plandex-server+ENV CGO_ENABLED=0+RUN go build -ldflags "-linkmode external -extldflags '-static'" -o plandex-server .# Final stage@@ -30,10 +29,8 @@ WORKDIR /app/serverCOPY --from=builder /app/server/plandex-server .COPY --from=builder /app/server/migrations ./migrations-RUN ls .-ENV PORT=8080EXPOSE 8080-CMD echo "Listing contents of .:" && ls -la . && echo "Listing contents of /app/server:" && ls -la /app/server && echo "Starting plandex-server..." && ./plandex-server+CMD ./plandex-server