diff --git a/Dockerfile b/Dockerfile index f13a36c..61782e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM golang:1.23.4 AS builder -WORKDIR /app - COPY . . RUN go mod download && go mod verify @@ -13,7 +11,7 @@ FROM alpine:3.7 WORKDIR /app # Copy the binary and required files -COPY --from=builder /app/docker-ldap-change-password-web-ui /app/docker-ldap-change-password-web-ui +COPY --from=builder /docker-ldap-change-password-web-ui /app/docker-ldap-change-password-web-ui RUN chmod +x /app/docker-ldap-change-password-web-ui ADD static /app/static