Add Dockerfile
This commit is contained in:
parent
9005122a18
commit
66f705879a
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1 +1,4 @@
|
||||||
/.idea
|
/.idea
|
||||||
|
|
||||||
|
/*.key
|
||||||
|
/*.crt
|
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FROM golang:1.17-bullseye
|
||||||
|
|
||||||
|
COPY . /src
|
||||||
|
|
||||||
|
WORKDIR /src
|
||||||
|
RUN go build -o fcmm . && mv fcmm /usr/bin && rm -rf /src
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/bin/fcmm"]
|
Loading…
Reference in a new issue