diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,12 +1,11 @@ -FROM docker.io/golang:alpine +FROM registry.redhat.io/rhel9/go-toolset:1.20.12-3.1712567214 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"] +RUN go build -v -o /app/bin/app ./cmd/web +CMD ["./bin/app"] EXPOSE 4000 |