summaryrefslogblamecommitdiffstats
path: root/Dockerfile
blob: 3c011033c01b57ca65973d54e78326359a96f56d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                            










                                               
FROM docker.io/golang:alpine

WORKDIR /app

RUN apk add --update npm
RUN npm i sass govuk-frontend --save
COPY go.mod ./
RUN go mod download && go mod verify
COPY . .
RUN go build -v -o /usr/local/bin/app ./cmd/web
CMD ["app"]
EXPOSE 4000