Commit
All checks were successful
build docker image / docker-build (push) Successful in 50s

This commit is contained in:
2025-01-12 15:44:57 +02:00
parent 76e1d4e591
commit 3a08c2a0b2

View File

@ -1,5 +1,7 @@
FROM golang:1.23.4 AS builder FROM golang:1.23.4 AS builder
WORKDIR /app
COPY . . COPY . .
RUN go mod download && go mod verify RUN go mod download && go mod verify
@ -11,7 +13,7 @@ FROM alpine:3.7
WORKDIR /app WORKDIR /app
# Copy the binary and required files # Copy the binary and required files
COPY --from=builder /docker-ldap-change-password-web-ui /app/docker-ldap-change-password-web-ui COPY --from=builder /app/docker-ldap-change-password-web-ui /app/docker-ldap-change-password-web-ui
RUN chmod +x /app/docker-ldap-change-password-web-ui RUN chmod +x /app/docker-ldap-change-password-web-ui
ADD static /app/static ADD static /app/static
@ -19,4 +21,4 @@ ADD templates /app/templates
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT [ "/app/docker-ldap-change-password-web-ui" ] ENTRYPOINT [ "docker-ldap-change-password-web-ui" ]