mirror of
https://github.com/cjdenio/jia.git
synced 2024-11-23 16:13:41 +00:00
add dockerfile
This commit is contained in:
parent
e3f8dd8ef1
commit
7d2f5a2076
2 changed files with 13 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal 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
4
captain-definition
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"schemaVersion": 2,
|
||||
"dockerfilePath": "./Dockerfile"
|
||||
}
|
Loading…
Reference in a new issue