Add docker and docker compose deployment files

This commit is contained in:
2022-09-16 14:41:50 -06:00
parent a7bedb3dcd
commit 7154ddc700
4 changed files with 25 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM golang:1.19-bullseye as builder
MAINTAINER restitux <restitux@ohea.xyz>
COPY . /server
WORKDIR /server
RUN go build .
FROM debian:bullseye
COPY --from=builder /server/server /server
ENTRYPOINT ["/server"]