Merge pull request #942 from Molecule-AI/fix/dockerfile-gosum-path

fix: Dockerfile go.sum path after workspace-server rename
This commit is contained in:
Hongming Wang 2026-04-18 00:31:27 -07:00 committed by GitHub
commit 96c463b8a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ FROM golang:1.25-alpine AS builder
WORKDIR /app
# Plugin source for replace directive in go.mod
COPY molecule-ai-plugin-github-app-auth/ /plugin/
COPY workspace-server/go.mod platform/go.sum ./
COPY workspace-server/go.mod workspace-server/go.sum ./
# Add replace directive for Docker builds (plugin is COPYed to /plugin above)
RUN echo 'replace github.com/Molecule-AI/molecule-ai-plugin-github-app-auth => /plugin' >> go.mod
RUN go mod download