add dockerfile

This commit is contained in:
Caleb Denio 2020-12-23 10:58:09 -05:00
parent e3f8dd8ef1
commit 7d2f5a2076
2 changed files with 13 additions and 0 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM golang:latest
WORKDIR /usr/src/app
COPY . .
RUN go build -o jia ./cmd
CMD ["./jia"]

4
captain-definition Normal file
View file

@ -0,0 +1,4 @@
{
"schemaVersion": 2,
"dockerfilePath": "./Dockerfile"
}