FROM golang:1.16-alpine WORKDIR /app COPY server.go go.mod ./ RUN go build -o /server EXPOSE 8080 CMD [ "/server" ]