We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 673e720 commit 70bfc94Copy full SHA for 70bfc94
1 file changed
packages/maas/Dockerfile.workspace
@@ -59,6 +59,7 @@ FROM ${GOLANG_BASE_IMAGE} AS bff-builder
59
ARG BFF_SOURCE_CODE
60
ARG TARGETOS
61
ARG TARGETARCH
62
+ARG MODULE_NAME
63
64
WORKDIR /usr/src/app
65
@@ -71,7 +72,7 @@ RUN go mod download
71
72
# Copy the go source files
73
COPY ${BFF_SOURCE_CODE}/cmd/ cmd/
74
COPY ${BFF_SOURCE_CODE}/internal/ internal/
-COPY ${BFF_SOURCE_CODE}/openapi/ openapi/
75
+COPY ./packages/${MODULE_NAME}/api/openapi/ ./openapi/
76
77
# Build the Go application
78
RUN CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -ldflags="-s -w" -tags strictfipsruntime -o bff ./cmd
0 commit comments