This commit is contained in:
@ -1,5 +1,7 @@
|
||||
FROM golang:1.23.4 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go mod download && go mod verify
|
||||
@ -11,7 +13,7 @@ FROM alpine:3.7
|
||||
WORKDIR /app
|
||||
|
||||
# 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
|
||||
|
||||
ADD static /app/static
|
||||
@ -19,4 +21,4 @@ ADD templates /app/templates
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT [ "/app/docker-ldap-change-password-web-ui" ]
|
||||
ENTRYPOINT [ "docker-ldap-change-password-web-ui" ]
|
Reference in New Issue
Block a user