summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c01103..0b159f0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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