From 0bffbc3772a70a972861f6d134c0e43b59abb60f Mon Sep 17 00:00:00 2001 From: Odyssey346 Date: Tue, 26 Jul 2022 19:12:43 +0200 Subject: [PATCH] Are we docker yet? Signed-off-by: Odyssey346 --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5eddf81 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM golang:1.18-alpine3.16 + +ENV SEGFAUTILITIES_PORT 6893 + +RUN mkdir /segfautilities +WORKDIR /segfautilities +COPY . /segfautilities/ +RUN go mod download + +EXPOSE 6893 + +CMD ["go", "run", "main.go"] \ No newline at end of file