This commit is contained in:
@ -1,7 +1,5 @@
|
|||||||
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
|
||||||
@ -13,7 +11,7 @@ FROM alpine:3.7
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy the binary and required files
|
# 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
|
RUN chmod +x /app/docker-ldap-change-password-web-ui
|
||||||
|
|
||||||
ADD static /app/static
|
ADD static /app/static
|
||||||
|
Reference in New Issue
Block a user