Tidy up manual build process

This commit is contained in:
David Stotijn
2020-11-01 19:01:07 +01:00
parent 81fbfe4cb3
commit f6789fa245
5 changed files with 25 additions and 29 deletions

View File

@ -9,6 +9,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY cmd ./cmd
COPY pkg ./pkg
RUN rm -f cmd/hetty/rice-box.go
RUN go build ./cmd/hetty
FROM node:${NODE_VERSION}-alpine AS node-builder