Add Dockerfile

This commit is contained in:
DataHoarder 2022-01-16 14:01:11 +01:00
parent 9005122a18
commit 66f705879a
2 changed files with 13 additions and 1 deletions

5
.gitignore vendored
View File

@ -1 +1,4 @@
/.idea
/.idea
/*.key
/*.crt

9
Dockerfile Normal file
View 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"]