professionals have standards pt2
continuous-integration/drone/push Build is passing Details

This commit is contained in:
stryan 2022-08-07 15:29:29 -04:00
parent fb107d0de7
commit 6f7e56fd36
1 changed files with 0 additions and 13 deletions

View File

@ -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"]