diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3ee90f9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM golang:latest + +WORKDIR /usr/src/app + +COPY . . + +RUN go build -o jia ./cmd + +CMD ["./jia"] diff --git a/captain-definition b/captain-definition new file mode 100644 index 0000000..b2726ed --- /dev/null +++ b/captain-definition @@ -0,0 +1,4 @@ +{ + "schemaVersion": 2, + "dockerfilePath": "./Dockerfile" + }