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
update server Dockerfile for tree-sitter
Dane Schneider8a3d36f23c49
diff --git a/app/Dockerfile.server b/app/Dockerfile.serverindex 9c036071..79620e55 100644--- a/app/Dockerfile.server+++ b/app/Dockerfile.server@@ -1,26 +1,35 @@FROM --platform=linux/amd64 golang:1.21.3+# Update and install necessary packages including build tools for Tree-sitterRUN apt-get update && \- apt-get install -y git+ apt-get install -y git gcc g++ makeWORKDIR /app+# Copy go.mod and go.sum for shared and server, and install dependenciesCOPY ./shared/go.mod ./shared/go.sum ./shared/RUN cd shared && go mod downloadCOPY ./server/go.mod ./server/go.sum ./server/RUN cd server && go mod download+# Copy the actual source codeCOPY ./server ./serverCOPY ./shared ./shared+# Set working directory to serverWORKDIR /app/server+# Set environment variables for GoENV GOOS=linuxENV GOARCH=amd64++# Build the applicationRUN rm -f plandex-server && go build -o plandex-server .+# Set the port and expose itENV PORT=8080EXPOSE 8080+# Command to run the executableCMD ["./plandex-server"]