Moving Dockerfile, multistage build

This commit is contained in:
Matt Burchett 2021-02-04 01:40:03 -06:00
parent 8c595faa27
commit d3a801ac6c

View File

@ -1,7 +1,7 @@
FROM golang:alpine AS build
WORKDIR /root/
COPY * /root/
COPY . /root/
RUN go build -o /root/matrix-handler cmd/svr/main.go
FROM scratch