feat: dockerfile heavy
This commit is contained in:
parent
6ac0c589f3
commit
e22591fdfa
3 changed files with 4 additions and 3 deletions
|
|
@ -13,7 +13,8 @@ RUN go mod download
|
||||||
|
|
||||||
# Copy source and build
|
# Copy source and build
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN make build
|
ARG GO_BUILD_TAGS=goolm,stdjson,bedrock
|
||||||
|
RUN make build GO_BUILD_TAGS=${GO_BUILD_TAGS}
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Stage 2: Node.js runtime with Python + MCP support
|
# Stage 2: Node.js runtime with Python + MCP support
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ const gatewayService = new gcp.cloudrunv2.Service("picoclaw-gateway", {
|
||||||
cpu: "1",
|
cpu: "1",
|
||||||
memory: "512Mi",
|
memory: "512Mi",
|
||||||
},
|
},
|
||||||
cpuIdle: false,
|
cpuIdle: true,
|
||||||
},
|
},
|
||||||
// startupProbe: {
|
// startupProbe: {
|
||||||
// httpGet: {
|
// httpGet: {
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ stages:
|
||||||
gcloud auth configure-docker $(Registry) --quiet
|
gcloud auth configure-docker $(Registry) --quiet
|
||||||
displayName: Configure Docker for GCR
|
displayName: Configure Docker for GCR
|
||||||
- script: |
|
- script: |
|
||||||
docker build -t $(Registry)/$(DockerImageName):latest -f docker/Dockerfile.launcher --build-arg GO_BUILD_TAGS=goolm,stdjson,bedrock .
|
docker build -t $(Registry)/$(DockerImageName):latest -f docker/Dockerfile.heavy --build-arg GO_BUILD_TAGS=goolm,stdjson,bedrock .
|
||||||
displayName: Build docker image
|
displayName: Build docker image
|
||||||
- script: |
|
- script: |
|
||||||
docker push $(Registry)/$(DockerImageName):latest
|
docker push $(Registry)/$(DockerImageName):latest
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue