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











                                               
FROM 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