Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix dockerfile

Acho Arnold4e1ef94b892b
diff --git a/api/Dockerfile b/api/Dockerfile
index 2306cc29..d30f798a 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -10,7 +10,7 @@ COPY go.sum .
RUN go mod download
-COPY .. .
+COPY . .
RUN go install github.com/swaggo/swag/cmd/swag
RUN swag init
@@ -33,4 +33,4 @@ ENV ZONEINFO=/zoneinfo.zip
EXPOSE 8000
-ENTRYPOINT ["./http-sms"]
\ No newline at end of file
+ENTRYPOINT ["./http-sms"]
diff --git a/api/cloudbuild.yaml b/api/cloudbuild.yaml
index b054fd73..6919a24e 100644
--- a/api/cloudbuild.yaml
+++ b/api/cloudbuild.yaml
@@ -1,6 +1,6 @@
steps:
- name: "gcr.io/kaniko-project/executor:latest"
- id: "Build Image and Push"
+ id: "Build image and push"
dir: "api"
args:
- "--destination=us.gcr.io/$PROJECT_ID/$_SERVICE_NAME:$SHORT_SHA"
@@ -10,7 +10,7 @@ steps:
- "--build-arg=GIT_COMMIT=$COMMIT_SHA"
- "--snapshotMode=time"
- - id: "Deploy to Cloud Run"
+ - id: "Deploy to cloud run"
name: "gcr.io/cloud-builders/gcloud"
entrypoint: "bash"
args: