diff --git a/Dockerfile b/Dockerfile index 23b0bf6..b34e5fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,9 @@ FROM alpine:3.7 WORKDIR /app +RUN go mod init \ + && GOOS=linux go build -o docker-ldap-change-password-web-ui main.go + ADD docker-ldap-change-password-web-ui /app/docker-ldap-change-password-web-ui ADD static /app/static ADD templates /app/templates