Skip to content

Commit 4e1ef94

Browse files
committed
Fix dockerfile
1 parent 8ae912e commit 4e1ef94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY go.sum .
1010

1111
RUN go mod download
1212

13-
COPY .. .
13+
COPY . .
1414

1515
RUN go install github.com/swaggo/swag/cmd/swag
1616
RUN swag init
@@ -33,4 +33,4 @@ ENV ZONEINFO=/zoneinfo.zip
3333

3434
EXPOSE 8000
3535

36-
ENTRYPOINT ["./http-sms"]
36+
ENTRYPOINT ["./http-sms"]

api/cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
steps:
22
- name: "gcr.io/kaniko-project/executor:latest"
3-
id: "Build Image and Push"
3+
id: "Build image and push"
44
dir: "api"
55
args:
66
- "--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA"
@@ -10,7 +10,7 @@ steps:
1010
- "--build-arg=GIT_COMMIT=$COMMIT_SHA"
1111
- "--snapshotMode=time"
1212

13-
- id: "Deploy to Cloud Run"
13+
- id: "Deploy to cloud run"
1414
name: "gcr.io/cloud-builders/gcloud"
1515
entrypoint: "bash"
1616
args:

0 commit comments

Comments
 (0)