From 6f7e56fd36aa8b7ead7c73986d9f2a877be49f6c Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 7 Aug 2022 15:29:29 -0400 Subject: [PATCH] professionals have standards pt2 --- Dockerfile | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index d248a6c..0000000 --- a/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM golang:1.18 as builder -WORKDIR /go/src/app -COPY . . -RUN apt update && apt upgrade -y -RUN go build - -FROM alpine:latest as final -WORKDIR /srv/ -RUN mkdir /srv/nunbot -RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 -COPY --from=builder /go/src/app/nunbot /srv/nunbot/ - -CMD ["/srv/nunbot/nunbot"]