From 7d2f5a207602fc9fdeb634e4276d7045f829a15a Mon Sep 17 00:00:00 2001 From: Caleb Denio Date: Wed, 23 Dec 2020 10:58:09 -0500 Subject: [PATCH] add dockerfile --- Dockerfile | 9 +++++++++ captain-definition | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 Dockerfile create mode 100644 captain-definition 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" + }